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

class minos.common.model.serializers.avro.schema.decoder.AvroSchemaDecoder(schema=None)[source]

Bases: minos.common.model.serializers.abc.SchemaDecoder

Avro Schema Decoder class.

__init__(schema=None)[source]
build(schema=<class 'minos.common.model.types.constants.MissingSentinel'>, **kwargs)[source]

Build type from given avro schema item.

Parameters

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

Return type

type

Returns

A type object.