Skip to content

Commit

Permalink
Merge pull request #809 from saltball/fix-op-function-slices
Browse files Browse the repository at this point in the history
fix: `op.function` doesn't work with slices.
  • Loading branch information
zjgemi authored May 30, 2024
2 parents 8329104 + 7dec8b9 commit eab86e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/dflow/python/op.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,11 +212,11 @@ class subclass(cls):

@classmethod
def get_input_sign(cls):
return input_sign
return deepcopy(input_sign)

@classmethod
def get_output_sign(cls):
return output_sign
return deepcopy(output_sign)

@OP.exec_sign_check
def execute(self, op_in):
Expand Down

0 comments on commit eab86e6

Please sign in to comment.