Hi everyone,
Documentation stands that tasks.get_all()
has a include_subprojects
keyword. But this piece of code:
tasks = client.tasks.get_all(
system_tags=["-archived"],
only_fields=["id"],
page_size=task_page_size,
page=task_page,
project=[project.id],
include_subprojects=True
)
gets me an error:
Traceback (most recent call last):
File "d:\Job\clearml\cleanup-service\prokects.py", line 52, in <module>
tasks = client.tasks.get_all(
^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\v-eliseev\AppData\Local\miniconda3\envs\clearml\Lib\site-packages\clearml\backend_api\session\client\client.py", line 422, in get
result=self.session.send(request_cls(*args, **kwargs)),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\v-eliseev\AppData\Local\miniconda3\envs\clearml\Lib\site-packages\clearml\backend_api\services\v2_23\tasks.py", line 8279, in __init__
super(GetAllRequest, self).__init__(**kwargs)
File "C:\Users\v-eliseev\AppData\Local\miniconda3\envs\clearml\Lib\site-packages\clearml\backend_api\session\request.py", line 31, in __init__
raise ValueError('Unsupported keyword arguments: %s' % ', '.join(kwargs.keys()))
ValueError: Unsupported keyword arguments: include_subprojects
Please, help, what i am doing wrong?
None