mirror of
https://github.com/clearml/clearml
synced 2025-03-03 10:42:00 +00:00
Fix APIClient worker raises exception when accessing .name attribute
This commit is contained in:
parent
4a6b3f44ca
commit
82f4cf2982
@ -323,6 +323,8 @@ class Entity(object):
|
||||
pass
|
||||
|
||||
func = getattr(self._service, attr)
|
||||
if not callable(func):
|
||||
return func
|
||||
|
||||
@wrap_request_class(func)
|
||||
def new_func(*args, **kwargs):
|
||||
|
Loading…
Reference in New Issue
Block a user