how to access to an attribute of Pydantic class inside another class

后端 未结 0 664
野的像风
野的像风 2020-12-31 04:26

Base Model Class

class ProductBase(BaseModel):
   code: str = ...
   reference: Optional[str] 
   discription_one: str = ...

second class wit

相关标签:
回答
  • 消灭零回复
提交回复
热议问题