a
This commit is contained in:
parent
bc803d5c08
commit
fefee23a5a
3 changed files with 17 additions and 8 deletions
|
|
@ -99,8 +99,10 @@ class CreateImageSchema(BaseSchema):
|
|||
self.uuid: Field = Field("uuid", str, data.get("uuid", KeyError))
|
||||
self.name = Field("name", str, data.get("name", KeyError))
|
||||
self.image_store = Field("image_store", str, data.get("image_store", KeyError))
|
||||
|
||||
# Validations
|
||||
self.uuid.validation = self.file_uuid_validation
|
||||
self.image_store.validation = self.image_store_name_validation
|
||||
|
||||
# All Fields
|
||||
fields = [self.uuid, self.name, self.image_store]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue