mirror of
https://github.com/clearml/clearml
synced 2025-01-31 17:17:00 +00:00
Allow Task.get_tasks() to filter by list of project ids
This commit is contained in:
parent
2c5e2bb849
commit
f3621feabb
@ -2,7 +2,6 @@ import os
|
||||
import shutil
|
||||
import sys
|
||||
import threading
|
||||
import weakref
|
||||
from enum import Enum
|
||||
from random import randint
|
||||
from tempfile import mkstemp
|
||||
|
@ -2330,7 +2330,7 @@ class Task(_Task):
|
||||
cls._get_default_session(),
|
||||
tasks.GetAllRequest(
|
||||
id=task_ids,
|
||||
project=[project.id] if project else None,
|
||||
project=[project.id] if project else kwargs.pop('project', None),
|
||||
name=task_name if task_name else None,
|
||||
only_fields=only_fields,
|
||||
**kwargs
|
||||
|
Loading…
Reference in New Issue
Block a user