-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Labels
questionFurther information is requestedFurther information is requested
Description
First of all, many thanks for good library.
Question is - is there a way to create mixed model like
class MyModel(BaseModel):
a: int
b: str
class XmlModel(BaseXmlModel):
b: MyModel = Field()
a: str = attr()
where XmlModel.b is ignored when deserializing\serializing to xml?
Clarification - to be used with model_dump to dict, but ignored for xml.
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested