class MultiTaskScalarMetricsIterHistogramRequest(HistogramRequestBase): tasks: Sequence[str] = ListField( items_types=str, validators=[ Length( minimum_value=1, maximum_value=config.get( "services.tasks.multi_task_histogram_limit", 10), ) ], )
class MakePublicRequest(models.Base): ids = ListField(items_types=str, validators=[Length(minimum_value=1)])
class DeleteConfigurationRequest(TaskRequest): configuration: Sequence[str] = ListField( [str], validators=Length(minimum_value=1)) force = BoolField(default=False)
class Configuration(models.Base): name = StringField(required=True, validators=Length(minimum_value=1)) value = StringField(required=True) type = StringField() description = StringField()
class EditConfigurationRequest(TaskRequest): configuration: Sequence[Configuration] = ListField( [Configuration], validators=Length(minimum_value=1)) replace_configuration = BoolField(default=False) force = BoolField(default=False)
class MoveRequest(models.Base): ids = ListField([str], validators=Length(minimum_value=1)) project = fields.StringField() project_name = fields.StringField()
class DeleteHyperParamsRequest(TaskRequest): hyperparams: Sequence[HyperParamKey] = ListField( [HyperParamKey], validators=Length(minimum_value=1)) force = BoolField(default=False)
class MultiTaskRequest(models.Base): tasks = ListField([str], validators=Length(minimum_value=1))
class HyperParamItem(models.Base): section = StringField(required=True, validators=Length(minimum_value=1)) name = StringField(required=True, validators=Length(minimum_value=1)) value = StringField(required=True) type = StringField() description = StringField()
class DeleteModelsRequest(TaskRequest): models: Sequence[ModelItemKey] = ListField( [ModelItemKey], validators=Length(minimum_value=1))
class DeleteArtifactsRequest(TaskRequest): artifacts = ListField([ArtifactId], validators=Length(minimum_value=1)) force = BoolField(default=False)
class DeleteConfigurationRequest(TaskUpdateRequest): configuration: Sequence[str] = ListField( [str], validators=Length(minimum_value=1))
class DeleteHyperParamsRequest(TaskUpdateRequest): hyperparams: Sequence[HyperParamKey] = ListField( [HyperParamKey], validators=Length(minimum_value=1))
class DeleteArtifactsRequest(TaskUpdateRequest): artifacts = ListField([ArtifactId], validators=Length(minimum_value=1))
class MultiTaskScalarMetricsIterHistogramRequest(HistogramRequestBase): tasks: Sequence[str] = ListField( items_types=str, validators=[Length(minimum_value=1, maximum_value=10)])
class HyperParamKey(models.Base): section = StringField(required=True, validators=Length(minimum_value=1)) name = StringField(nullable=True)
class TaskMetricsRequest(Base): tasks: Sequence[str] = ListField(items_types=str, validators=[Length(minimum_value=1)]) event_type: EventType = ActualEnumField(EventType, required=True)
class BatchRequest(Base): ids: Sequence[str] = ListField([str], validators=Length(minimum_value=1))