mirror of
https://github.com/clearml/clearml
synced 2025-06-12 17:43:08 +00:00
pep8
This commit is contained in:
parent
aa44ba854f
commit
7eedd30097
@ -2423,7 +2423,7 @@ class CloneRequest(Request):
|
|||||||
if value is None:
|
if value is None:
|
||||||
self._property_new_task_hyperparams = None
|
self._property_new_task_hyperparams = None
|
||||||
return
|
return
|
||||||
|
|
||||||
self.assert_isinstance(value, "new_task_hyperparams", (dict,))
|
self.assert_isinstance(value, "new_task_hyperparams", (dict,))
|
||||||
self._property_new_task_hyperparams = value
|
self._property_new_task_hyperparams = value
|
||||||
|
|
||||||
@ -2436,7 +2436,7 @@ class CloneRequest(Request):
|
|||||||
if value is None:
|
if value is None:
|
||||||
self._property_new_task_configuration = None
|
self._property_new_task_configuration = None
|
||||||
return
|
return
|
||||||
|
|
||||||
self.assert_isinstance(value, "new_task_configuration", (dict,))
|
self.assert_isinstance(value, "new_task_configuration", (dict,))
|
||||||
self._property_new_task_configuration = value
|
self._property_new_task_configuration = value
|
||||||
|
|
||||||
@ -7624,7 +7624,7 @@ class ResetRequest(Request):
|
|||||||
if value is None:
|
if value is None:
|
||||||
self._property_clear_all = None
|
self._property_clear_all = None
|
||||||
return
|
return
|
||||||
|
|
||||||
self.assert_isinstance(value, "clear_all", (bool,))
|
self.assert_isinstance(value, "clear_all", (bool,))
|
||||||
self._property_clear_all = value
|
self._property_clear_all = value
|
||||||
|
|
||||||
|
@ -138,7 +138,6 @@ class _Arguments(object):
|
|||||||
self._add_to_defaults(parser, task_defaults, task_defaults_descriptions, task_defaults_types,
|
self._add_to_defaults(parser, task_defaults, task_defaults_descriptions, task_defaults_types,
|
||||||
args, namespace, parsed_args)
|
args, namespace, parsed_args)
|
||||||
|
|
||||||
|
|
||||||
# Make sure we didn't miss anything
|
# Make sure we didn't miss anything
|
||||||
if parsed_args:
|
if parsed_args:
|
||||||
for k, v in parsed_args.__dict__.items():
|
for k, v in parsed_args.__dict__.items():
|
||||||
|
Loading…
Reference in New Issue
Block a user