Chris Tsou

Results 138 comments of Chris Tsou

Can you give some more info about the type-checker you are using? Unfortunately this isn't really an option as the Meta class must be final to avoid conflicts

Thanks @sashkent3 from quick look a lot of libraries suffer from that issue https://github.com/microsoft/pyright/discussions/6570 https://github.com/typeddjango/django-stubs/issues/748 I am open to suggestions but inheritance between Meta classes is impossible

The parent class might not have a meta class, but the parent parent might, resolving the imports is very hard in these cases. Maybe the `type: ignore` is the way...

If we create a Meta class for every model and include all the properties in each one, doesn’t that undermine the point of using inheritance, which is to share and...

> [@tefra](https://github.com/tefra) This seems to be because [`tail` is appended to the contents while iterating over the Element Nodes](https://github.com/tefra/xsdata/blob/2512c1f34ad94b911cc62c9ad9bb9d9488dd25e8/xsdata/formats/dataclass/parsers/nodes/element.py#L423) with `bind_wild_text`. Is this intended behavior? It is a bug, not...

> @tefra Any thoughts? It looks right @qthequartermasterman let me do some manual tests.

Checking subclasses in choices, is not an option, there are cases when choices include both parent, subclasses. Can you provide a practical example, of what you are trying to accomplice,...

Ok so you are parsing datetimes with offsets and you want to convert them to UTC. ```python >>> from xsdata.models.datatype import XmlDateTime >>> from zoneinfo import ZoneInfo >>> dt =...

You can still get the tzinfo from the XmlTime object like this ```python XmlTime(12, 1, 1, 0, 120).to_time().tzinfo ```

Ok what do you suggest to do?