mirror of
https://github.com/clearml/clearml-server
synced 2025-01-31 10:56:48 +00:00
18 lines
398 B
Python
18 lines
398 B
Python
from jsonmodels import models, fields
|
|
|
|
from apiserver.apimodels import ListField
|
|
from apiserver.apimodels.organization import TagsRequest
|
|
|
|
|
|
class ProjectReq(models.Base):
|
|
project = fields.StringField()
|
|
|
|
|
|
class GetHyperParamReq(ProjectReq):
|
|
page = fields.IntField(default=0)
|
|
page_size = fields.IntField(default=500)
|
|
|
|
|
|
class ProjectTagsRequest(TagsRequest):
|
|
projects = ListField(str)
|