mike-oakley / openapi-pydantic

Pydantic OpenAPI schema implementation
Other
48 stars 7 forks source link

Fix for Python 3.9 #18

Closed hathawsh closed 1 year ago

hathawsh commented 1 year ago

While testing, I discovered Python 3.9 support is broken in 0.3.0 due to the use of | union operators. This PR replaces | with Union[...] and Optional[...] and cleans up tox.ini so that the tests are run for every supported version of Python.

mike-oakley commented 1 year ago

lgtm thanks @hathawsh!

mike-oakley commented 1 year ago

Released in 0.3.1 👍🏼