Skip to content

TrajectoryBucket ​

python
TrajectoryBucket(configuration: TrajectoryStoreConfiguration, _entries: list[_TrajectoryEntry] = list(), _next_sequence: int = 0) -> None

Retention bucket for a single grouping key.

Source

Properties ​

entries ​

python
entries: list[_TrajectoryEntry]

Source

max_entries ​

python
max_entries: int

Source

next_sequence ​

python
next_sequence: int

Source

Methods ​

from_runtime_state_dict ​

python
from_runtime_state_dict(configuration: TrajectoryStoreConfiguration, state: dict[str, Any]) -> TrajectoryBucket

Source

insert ​

python
insert(recording: TrajectoryReferenceRecording) -> tuple[TrajectoryInsertOutcome, _TrajectoryEntry | None]

Source

is_empty ​

python
is_empty() -> bool

Source

make_entry ​

python
make_entry(recording: TrajectoryReferenceRecording) -> _TrajectoryEntry

Source

runtime_state_dict ​

python
runtime_state_dict() -> dict[str, Any]

Source

Values ​

configuration ​

python
configuration: TrajectoryStoreConfiguration

Source