docarray.array.storage.base.backend module#

class docarray.array.storage.base.backend.TypeMap(type, converter)#

Bases: tuple

Create new instance of TypeMap(type, converter)

property converter#

Alias for field number 1

count(value, /)#

Return number of occurrences of value.

index(value, start=0, stop=9223372036854775807, /)#

Return first index of value.

Raises ValueError if the value is not present.

property type#

Alias for field number 0

class docarray.array.storage.base.backend.BaseBackendMixin[source]#

Bases: ABC

TYPE_MAP: Dict[str, TypeMap]#