mirror of
https://github.com/clearml/clearml
synced 2025-03-04 19:20:16 +00:00
Fix connected object base class members are not used
This commit is contained in:
parent
9a937894d6
commit
b028b98a0c
@ -3001,7 +3001,12 @@ class Task(_Task):
|
|||||||
except TypeError:
|
except TypeError:
|
||||||
return False
|
return False
|
||||||
|
|
||||||
a_dict = {k: v for k, v in an_object.__dict__.items() if verify_type(k, v)}
|
a_dict = {
|
||||||
|
k: v
|
||||||
|
for cls_ in an_object.__mro__
|
||||||
|
for k, v in cls_.__dict__.items()
|
||||||
|
if verify_type(k, v)
|
||||||
|
}
|
||||||
if running_remotely() and (self.is_main_task() or self._is_remote_main_task()):
|
if running_remotely() and (self.is_main_task() or self._is_remote_main_task()):
|
||||||
a_dict = self._connect_dictionary(a_dict, name)
|
a_dict = self._connect_dictionary(a_dict, name)
|
||||||
for k, v in a_dict.items():
|
for k, v in a_dict.items():
|
||||||
|
Loading…
Reference in New Issue
Block a user