mirror of
https://github.com/clearml/clearml
synced 2025-02-07 13:23:40 +00:00
Fix APIClient get_all
calls failing on API 2.20
This commit is contained in:
parent
90854fa4a5
commit
55a1745ac5
@ -410,7 +410,9 @@ def make_action(service, request_cls):
|
||||
|
||||
elif action in ["get_all", "get_all_ex"]:
|
||||
# noinspection PyProtectedMember
|
||||
dest = service.response_mapping[request_cls]._get_data_props().popitem()[0]
|
||||
for dest in service.response_mapping[request_cls]._get_data_props().keys():
|
||||
if dest != "scroll_id":
|
||||
break
|
||||
|
||||
@wrap
|
||||
def get(self, *args, **kwargs):
|
||||
|
Loading…
Reference in New Issue
Block a user