mirror of
https://github.com/clearml/clearml-server
synced 2025-01-31 19:06:55 +00:00
20 lines
539 B
Python
20 lines
539 B
Python
from jsonmodels.fields import BoolField, DateTimeField, StringField
|
|
from jsonmodels.models import Base
|
|
|
|
|
|
class ReportStatsOptionRequest(Base):
|
|
enabled = BoolField(default=None, nullable=True)
|
|
|
|
|
|
class GetConfigRequest(Base):
|
|
path = StringField()
|
|
|
|
|
|
class ReportStatsOptionResponse(Base):
|
|
supported = BoolField(default=True)
|
|
enabled = BoolField()
|
|
enabled_time = DateTimeField(nullable=True)
|
|
enabled_version = StringField(nullable=True)
|
|
enabled_user = StringField(nullable=True)
|
|
current_version = StringField()
|