Skip to content

Commit

Permalink
fix: BigParameter(str) in debug mode
Browse files Browse the repository at this point in the history
Signed-off-by: zjgemi <[email protected]>
  • Loading branch information
zjgemi committed May 28, 2024
1 parent aa530dc commit 9294c4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dflow/python/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def handle_input_parameter(name, value, sign, slices=None, data_root="/tmp"):
content = jsonpickle.loads(f.read())
obj = content
else:
if isinstance(sign, Parameter):
if isinstance(sign, (Parameter, BigParameter)):
sign = sign.type
if sign == str and slices is None:
obj = value
Expand Down

0 comments on commit 9294c4a

Please sign in to comment.