minos.common.model.serializers.avro.data.encoder module

class minos.common.model.serializers.avro.data.encoder.AvroDataEncoder(value=None)[source]

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

Avro Data Encoder class.

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

Build an avro data representation based on the content of the given field.

Parameters

value – The value to be encoded.

Return type

typing.Any

Returns

A avro-compatible data.