Fix APIClient worker raises exception when accessing .name attribute

This commit is contained in:
allegroai 2022-03-11 23:55:38 +02:00
parent 4a6b3f44ca
commit 82f4cf2982

View File

@ -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):