You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When describing a (pydantic) dataclass with a field that either is None or some Enum-value, the generated avro schema for this field does not have the correct types.
Describe the bug
When describing a (pydantic) dataclass with a field that either is
None
or someEnum
-value, the generated avro schema for this field does not have the correct types.To Reproduce
Consider the following data model:
The print:
Expected behavior
Expected output:
My environment
Python 3.9.15
Pydantic 1.10.2
dataclasses-avroschema 0.34.3
avro 1.11.1
The text was updated successfully, but these errors were encountered: