fix: make est_total field optional in FamilleResponse model
This commit is contained in:
parent
85da047440
commit
de6739e3f5
1 changed files with 1 additions and 1 deletions
2
api.py
2
api.py
|
|
@ -893,7 +893,7 @@ class FamilleResponse(BaseModel):
|
||||||
intitule: str = Field(..., description="Intitulé")
|
intitule: str = Field(..., description="Intitulé")
|
||||||
type: int = Field(..., description="Type (0=Détail, 1=Total)")
|
type: int = Field(..., description="Type (0=Détail, 1=Total)")
|
||||||
type_libelle: str = Field(..., description="Libellé du type")
|
type_libelle: str = Field(..., description="Libellé du type")
|
||||||
est_total: bool = Field(..., description="True si type Total")
|
est_total: Optional[bool] = Field(None, description="True si type Total")
|
||||||
compte_achat: Optional[str] = Field(None, description="Compte général achat")
|
compte_achat: Optional[str] = Field(None, description="Compte général achat")
|
||||||
compte_vente: Optional[str] = Field(None, description="Compte général vente")
|
compte_vente: Optional[str] = Field(None, description="Compte général vente")
|
||||||
unite_vente: Optional[str] = Field(None, description="Unité de vente par défaut")
|
unite_vente: Optional[str] = Field(None, description="Unité de vente par défaut")
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue