api 1.6
This commit is contained in:
@@ -4,7 +4,7 @@ class ExcelInfo(BaseModel):
|
||||
arti:str = Field(..., min_length=5, max_length=12, description="arti of the clothes")
|
||||
counts:int = Field(..., gt=0, description="the quantity of the clothes")
|
||||
price:float = Field(..., gt=0, description="the price of the clothes")
|
||||
#ref_key:str = Field(..., description="reffering key from db")
|
||||
ref_key:str = Field(..., description="reffering key from db")
|
||||
class ExcelRealization(BaseModel):
|
||||
pass
|
||||
class ExcelReturning(BaseModel):
|
||||
@@ -42,6 +42,12 @@ class Settings(BaseSettings):
|
||||
A90_02_1:str
|
||||
A90_03:str
|
||||
A76_09:str
|
||||
A44_01:str
|
||||
A19_04:str
|
||||
TYPE1:str
|
||||
TYPE2:str
|
||||
TYPE3:str
|
||||
TYPE4:str
|
||||
model_config = SettingsConfigDict(
|
||||
env_file=".env",
|
||||
env_file_encoding="utf-8"
|
||||
|
||||
Reference in New Issue
Block a user