mirror of
https://github.com/clearml/clearml
synced 2025-03-03 18:52:12 +00:00
Fix python-fire integration (#1275)
Fixes bug when calling `__call__` method of a class via Fire (#1268)
This commit is contained in:
parent
c106155935
commit
22bbb66fe8
@ -162,7 +162,7 @@ class PatchFire:
|
||||
|
||||
@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)
|
||||
|
Loading…
Reference in New Issue
Block a user