Dmitry Pershin
Dmitry Pershin
@jorants Hi, For now you can define [custom schema](https://docs.pydantic.dev/latest/concepts/types/#handling-third-party-types): ```python from typing import Annotated import pydantic_xml as pxml from pydantic_core import core_schema as cs class SpaceSeparatedValueListSchema: @classmethod def __get_pydantic_core_schema__(cls, source_type,...
I suppose this collection attribute implementation is not very intuitive since it only works if validator and serializer are provided. In my opinion such code should work too: ```python class...
@mehmax Hi, Thanks for your feedback. The library doesn't support xpath expressions as well as `wrapped`. You could declare `attributes` as a list and define a property: ```python class ProductAttribute(BaseXmlModel):...
@Molandrious Hi starting from version 2.0 `Any` type hint is not supported anymore, so you have to specify all generic types.
@plusls Hi, could you elaborate your request, please.
@PuglyD Hi, element tag doesn't support wildcards, it must be an explicit tag name
@lja5262 Hi! Due to internal implementation `model_validator` is called after all sub-models validators are succeeded.
@ghilesmeddour Hi, Namespaces are not inherited by nested models, so they must be explicitly defined for all models: ```python from typing import Optional from uuid import UUID from pydantic_xml import...