Allow queries on the list of execution queue ids in tasks.get_all/get_all_ex

This commit is contained in:
allegroai 2023-11-17 09:47:19 +02:00
parent 4ac6f88278
commit da8315d0db

View File

@ -230,11 +230,12 @@ class Task(AttributedDocument):
"project",
"parent",
"hyperparams.*",
"execution.queue",
),
range_fields=("started", "active_duration", "last_metrics.*", "last_iteration"),
datetime_fields=("status_changed", "last_update"),
pattern_fields=("name", "comment", "report"),
fields=("execution.queue", "runtime.*", "models.input.model"),
fields=("runtime.*", "models.input.model"),
)
id = StringField(primary_key=True)