class CloneRequest(TaskRequest): new_task_name = StringField() new_task_comment = StringField() new_task_tags = ListField([str]) new_task_system_tags = ListField([str]) new_task_parent = StringField() new_task_project = StringField() new_task_hyperparams = DictField() new_task_configuration = DictField() execution_overrides = DictField() validate_references = BoolField(default=False) new_project_name = StringField()
class CreateModelRequest(models.Base): name = fields.StringField(required=True) uri = fields.StringField(required=True) labels = DictField(value_types=string_types + (int, )) tags = ListField(items_types=string_types) system_tags = ListField(items_types=string_types) comment = fields.StringField() public = fields.BoolField(default=False) project = fields.StringField() parent = fields.StringField() framework = fields.StringField() design = DictField() ready = fields.BoolField(default=True) ui_cache = DictField() task = fields.StringField()
class ProjectsGetRequest(models.Base): include_stats = fields.BoolField(default=False) include_stats_filter = DictField() stats_with_children = fields.BoolField(default=True) stats_for_state = ActualEnumField(EntityVisibility, default=EntityVisibility.active) non_public = fields.BoolField(default=False) active_users = fields.ListField(str) check_own_contents = fields.BoolField(default=False) shallow_search = fields.BoolField(default=False)
class SetRequirementsRequest(TaskRequest): requirements = DictField(required=True)
class ResetResponse(UpdateResponse): deleted_indices = ListField(items_types=six.string_types) dequeued = DictField() frames = DictField() events = DictField() model_deleted = IntField()
class GetSupportedModesResponse(Base): basic = EmbeddedField(BasicMode) server_errors = EmbeddedField(ServerErrors) sso = DictField([str, type(None)]) sso_providers = ListField([dict])
class ResetBatchItem(UpdateBatchItem): dequeued: bool = BoolField() deleted_models = IntField() urls = DictField()
class ResetResponse(UpdateResponse): dequeued = DictField() events = DictField() deleted_models = IntField() urls = DictField()
class SetPreferencesRequest(Base): preferences = DictField(required=True)
class UpdateRequest(QueueRequest): name = StringField() tags = ListField(items_types=[str]) system_tags = ListField(items_types=[str]) metadata = DictField(value_types=[MetadataItem])
class CreateRequest(Base): name = StringField(required=True) tags = ListField(items_types=[str]) system_tags = ListField(items_types=[str]) metadata = DictField(value_types=[MetadataItem])