fastavro

How can I create an Avro schema from a python class?

How can I create an Avro schema from a python class? Question: How can I transform my simple python class like the following into a avro schema? class Testo(SQLModel): name: str mea: int This is the Testo.schema() output { "title": "Testo", "type": "object", "properties": { "name": { "title": "Name", "type": "string" }, "mea": { "title": …

Total answers: 1