dapper91 / pydantic-xml

python xml for humans
https://pydantic-xml.readthedocs.io
The Unlicense
155 stars 16 forks source link

Python 3.10 Pipe UnionType fix #57

Closed jwfraustro closed 1 year ago

jwfraustro commented 1 year ago

Fixes the issue raised in: https://github.com/dapper91/pydantic-xml/issues/56

dapper91 commented 1 year ago

@jwfraustro Hi. Thanks for your contribution. UnionType added in python 3.10, so this fix breaks compatibility with python <3.10.

dapper91 commented 1 year ago

Closed in favor to https://github.com/dapper91/pydantic-xml/pull/58