jpmorganchase / py-avro-schema

Generate Apache Avro schemas for Python types including standard library data-classes and Pydantic data models.
https://py-avro-schema.readthedocs.io/
Apache License 2.0
37 stars 6 forks source link

Support for `pydantic.PositiveFloat` and subclasses for primitives in general #24

Closed faph closed 2 years ago

faph commented 2 years ago

See issue #23

BTW, Why is there a max recursion error here?

faph commented 2 years ago

The max recursion error is coming from a Pydantic change with regards to forward refs. Need to debug.

Possibly as a result of https://github.com/pydantic/pydantic/pull/4249. Using field.annotations instead.