minos.common.model.serializers.avro.schema.decoder

Classes

AvroSchemaDecoder

Avro Schema Decoder class.

class AvroSchemaDecoder[source]

Bases: SchemaDecoder

Avro Schema Decoder class.

__init__(schema=None)[source]
Parameters

schema (Optional[Any]) –

build(schema=MissingSentinel, **kwargs)[source]

Build type from given avro schema item.

Parameters

schema (Any) – The schema to be decoded as a type.

Returns

A type object.

Return type

type