feat: attrs on product

This commit is contained in:
2024-05-11 00:24:59 +03:00
parent dca4070db7
commit 7ce9258096
12 changed files with 25 additions and 22 deletions

View File

@@ -19,6 +19,7 @@ class ProductSchema(CustomModelCamel):
brand: str | None = None
color: str | None = None
composition: str | None = None
size: str | None = None
@field_validator('barcodes', mode="before")
def barcodes_to_list(cls, v):