Releases: marcosschroh/dataclasses-avroschema
Releases · marcosschroh/dataclasses-avroschema
v0.12.0
- import of
SchemaGenetor
improved. - Documentation updated
v0.11.1
- Serialization/deserialization added
v0.10.0
- fixed type support added
v0.9.0
v0.8.0
- Support
typing.Optional
.
Now is possible to generate optional types doing:
class MyClass:
optional_union: typing.Optional[str]
optional_union_with_default: typing.Optional[str] = None
Handle union in map type
- Union types can be included in
sequences
types
Logical Types in Sequences and Maps
- Logical types now are allowed in Sequences and Maps
Fix Union type
- Union type now allows logical and primitive types
Support for Sequences and Mappings added
Avro Type | Python Type |
---|---|
arrays | typing.Sequence, typing.MutableSequence |
maps | typing.Mapping, typing.MutableMapping |
Faust Support
- Now is possible to generate Avro Schemas from a
Faust Records