Skip to content

Commit bee7322

Browse files
committed
Fixes by comments
1 parent bc939f9 commit bee7322

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ads/aqua/common/entities.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ def _parse_params(params: Union[str, List[str]]) -> Dict[str, str]:
368368
Dict[str, str]
369369
Dictionary with parameter names as keys and their corresponding values as strings.
370370
"""
371-
if not params:
371+
if not params or not isinstance(params, (str, list)):
372372
return {}
373373

374374
# Normalize string to list of "--key value" strings

0 commit comments

Comments
 (0)