Skip to content

Commit

Permalink
Merge pull request #812 from deepmodeling/zjgemi
Browse files Browse the repository at this point in the history
fix: BigParameter(str) in debug mode
  • Loading branch information
zjgemi authored May 28, 2024
2 parents 8d7cb0f + 9294c4a commit 9d6967c
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 9d6967c

Please sign in to comment.