mirror of
https://github.com/clearml/clearml-server
synced 2025-01-31 19:06:55 +00:00
24 lines
521 B
Python
24 lines
521 B
Python
from jsonmodels import models, fields
|
|
|
|
from apimodels import ListField
|
|
from 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 GetHyperParamResp(models.Base):
|
|
parameters = fields.ListField(str)
|
|
remaining = fields.IntField()
|
|
total = fields.IntField()
|
|
|
|
|
|
class ProjectTagsRequest(TagsRequest):
|
|
projects = ListField(str)
|