Skip to content

Commit

Permalink
Fix python-fire integration (#1275)
Browse files Browse the repository at this point in the history
Fixes bug when calling `__call__` method of a class via Fire (#1268)
  • Loading branch information
tvelovraf authored Jun 5, 2024
1 parent c106155 commit 22bbb66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clearml/binding/fire_bind.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ def __Fire(original_fn, component, args_, parsed_flag_args, context, name, *args

@staticmethod
def __CallAndUpdateTrace( # noqa
original_fn, component, args_, component_trace, treatment, target, *args, **kwargs
original_fn, component, args_, component_trace, treatment, target=None, *args, **kwargs
):
if running_remotely():
return original_fn(component, args_, component_trace, treatment, target, *args, **kwargs)
Expand Down

0 comments on commit 22bbb66

Please sign in to comment.