arcticdb.version_store.library.ReadRequest

class arcticdb.version_store.library.ReadRequest(symbol: str, as_of: int | str | datetime | None = None, date_range: Tuple[Timestamp | datetime | date | None, Timestamp | datetime | date | None] | None = None, columns: List[str] | None = None, query_builder: QueryBuilder | None = None)[source]

ReadRequest is designed to enable batching of read operations with an API that mirrors the singular read API. Therefore, construction of this object is only required for batch read operations.

as_of

See read method.

Type:

Optional[AsOf], default=none

date_range

See `read`method.

Type:

Optional[Tuple[Optional[Timestamp], Optional[Timestamp]]], default=none

columns

See read method.

Type:

Optional[List[str]], default=none

query_builder

See read method.

Type:

Optional[Querybuilder], default=none

See also

Library.read

For documentation on the parameters.

__init__()

Methods

__init__()

count(value, /)

Return number of occurrences of value.

index(value[, start, stop])

Return first index of value.

Attributes

as_of

Alias for field number 1

columns

Alias for field number 3

date_range

Alias for field number 2

query_builder

Alias for field number 4

symbol

Alias for field number 0