datastore.array

datastore.array

datastore.array

Module Contents

Classes

Array

All the operations on a read-only sequence.

class datastore.array.Array(items)

Bases: collections.abc.Sequence

All the operations on a read-only sequence.

Concrete subclasses must override __new__ or __init__, __getitem__, and __len__.

Parameters:

items (List[datastore.value.Value]) –

__eq__(other)

Return self==value.

Parameters:

other (Any) –

Return type:

bool

__repr__()

Return repr(self).

Return type:

str

__getitem__(index)
Parameters:

index (Any) –

Return type:

Any

__len__()
Return type:

int

classmethod from_repr(data)
Parameters:

data (Dict[str, Any]) –

Return type:

Array

to_repr()
Return type:

Dict[str, Any]