Allow filtering task models.input.model field by array of ids

This commit is contained in:
allegroai 2024-03-18 16:01:45 +02:00
parent 3544ed19f8
commit ac7ea0d477

View File

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