mirror of
https://github.com/clearml/clearml-server
synced 2025-01-31 10:56:48 +00:00
ae4c33fa0e
Add `last_changed_by` field on task updates Fix reports support
26 lines
659 B
Python
26 lines
659 B
Python
from jsonmodels import fields, models
|
|
|
|
from apiserver.apimodels import DictField
|
|
|
|
|
|
class Filter(models.Base):
|
|
tags = fields.ListField([str])
|
|
system_tags = fields.ListField([str])
|
|
|
|
|
|
class TagsRequest(models.Base):
|
|
include_system = fields.BoolField(default=False)
|
|
filter = fields.EmbeddedField(Filter)
|
|
|
|
|
|
class EntitiesCountRequest(models.Base):
|
|
projects = DictField()
|
|
tasks = DictField()
|
|
models = DictField()
|
|
pipelines = DictField()
|
|
datasets = DictField()
|
|
reports = DictField()
|
|
active_users = fields.ListField(str)
|
|
search_hidden = fields.BoolField(default=False)
|
|
allow_public = fields.BoolField(default=True)
|