mirror of
https://github.com/clearml/clearml
synced 2025-03-03 18:52:12 +00:00
Fix Hydra 1.1 support (argparse description)
This commit is contained in:
parent
ae6caf4404
commit
e24a421457
@ -105,7 +105,7 @@ class _Arguments(object):
|
|||||||
}
|
}
|
||||||
|
|
||||||
desc_ = {
|
desc_ = {
|
||||||
a.dest: a.help or (
|
a.dest: str(a.help) or (
|
||||||
'{}default: {}'.format('choices: {}, '.format(a.choices) if a.choices else '',
|
'{}default: {}'.format('choices: {}, '.format(a.choices) if a.choices else '',
|
||||||
defaults_.get(a.dest, '')))
|
defaults_.get(a.dest, '')))
|
||||||
for a in actions}
|
for a in actions}
|
||||||
|
Loading…
Reference in New Issue
Block a user