datastore.array¶
Classes¶
All the operations on a read-only sequence. |
Module Contents¶
- 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])
- items¶
- __eq__(other)¶
- Parameters:
other (Any)
- Return type:
bool
- __repr__()¶
- Return type:
str
- __getitem__(index)¶
- Parameters:
index (Any)
- Return type:
Any
- __len__()¶
- Return type:
int
- to_repr()¶
- Return type:
Dict[str, Any]