mirror of
https://github.com/clearml/clearml
synced 2025-02-07 13:23:40 +00:00
Fix click support (issue #437)
This commit is contained in:
parent
569ab6610d
commit
5a9155b203
@ -89,7 +89,7 @@ class PatchClick:
|
|||||||
if option.type is not None:
|
if option.type is not None:
|
||||||
PatchClick._args_type[name+'/'+option.name] = str(option.type)
|
PatchClick._args_type[name+'/'+option.name] = str(option.type)
|
||||||
# store value help
|
# store value help
|
||||||
if option.help:
|
if getattr(option, 'help', None):
|
||||||
PatchClick._args_desc[name+'/'+option.name] = str(option.help)
|
PatchClick._args_desc[name+'/'+option.name] = str(option.help)
|
||||||
|
|
||||||
return original_fn(self, *args, **kwargs)
|
return original_fn(self, *args, **kwargs)
|
||||||
|
Loading…
Reference in New Issue
Block a user