ash_model.PresenceStore

class ash_model.PresenceStore[source]

Minimal dict‑like interface required by ASH.

__init__()

Methods

__init__()

get(t, default)

Dict‑style get.

keys()

Return iterable of snapshot indices.

setdefault(t, default)

Return mutable set‑like view (creates snapshot if absent).

abstract setdefault(t, default)[source]

Return mutable set‑like view (creates snapshot if absent).

Parameters:
Return type:

_SnapshotMutable

abstract get(t, default)[source]

Dict‑style get.

Parameters:

t (int) –

abstract keys()[source]

Return iterable of snapshot indices.

Return type:

Iterable[int]