diff --git a/clearml/automation/controller.py b/clearml/automation/controller.py index dfa87339..acb5b94e 100644 --- a/clearml/automation/controller.py +++ b/clearml/automation/controller.py @@ -3221,8 +3221,10 @@ class PipelineController(object): name=artifact_name, artifact_object=artifact_object, wait_on_upload=True, - extension_name=".pkl" if isinstance(artifact_object, dict) and - not self._artifact_serialization_function else None, + extension_name=( + ".pkl" if isinstance(artifact_object, dict) and not self._artifact_serialization_function + else None + ), serialization_function=self._artifact_serialization_function ) diff --git a/clearml/binding/environ_bind.py b/clearml/binding/environ_bind.py index e5167368..69b6ffb3 100644 --- a/clearml/binding/environ_bind.py +++ b/clearml/binding/environ_bind.py @@ -246,7 +246,6 @@ class PatchOsFork(object): os._exit = _at_exit_callback - @staticmethod def _patched_fork(*args, **kwargs): if not PatchOsFork._current_task: diff --git a/clearml/utilities/proxy_object.py b/clearml/utilities/proxy_object.py index 9aadc2f4..57ad1c58 100644 --- a/clearml/utilities/proxy_object.py +++ b/clearml/utilities/proxy_object.py @@ -287,7 +287,7 @@ class WrapperBase(type): # (http://code.activestate.com/recipes/496741/). It adds special methods # to the wrapper class so it can proxy the wrapped class. In addition, it # adds a field __overrides__ in the wrapper class dictionary, containing - # all attributes decorated to be overriden. + # all attributes decorated to be overridden. _special_names = [ '__abs__', '__add__', '__and__', '__call__', '__cmp__', '__coerce__', @@ -303,7 +303,7 @@ class WrapperBase(type): '__repr__', '__reversed__', '__rfloorfiv__', '__rlshift__', '__rmod__', '__rmul__', '__ror__', '__rpow__', '__rrshift__', '__rshift__', '__rsub__', '__rtruediv__', '__rxor__', '__setitem__', '__setslice__', '__sub__', - '__truediv__', '__xor__', 'next', '__str__', '__repr__', + '__truediv__', '__xor__', 'next', '__str__', '__repr__', '__round__', '__fspath__', '__bytes__', '__index__' ]