We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 42f13a1 + a0bd95f commit b66edb4Copy full SHA for b66edb4
README.rst
@@ -61,7 +61,7 @@ The following model fields binding:
61
class Company(BaseXmlModel):
62
trade_name: str = attr(name='trade-name') # extracted from the 'trade-name' attribute
63
website: HttpUrl = element() # extracted from the 'website' element text
64
- products: List[Product] = element(tag='product', default=[]) # extracted from the 'website' element
+ products: List[Product] = element(tag='product', default=[]) # extracted from the 'Company' element's children
65
66
defines the XML document:
67
0 commit comments