sddb.CohortManifest#

class sddb.CohortManifest(schema_version: str, created_at: str, source: Source, filter: dict[str, Any], hash: str, members: DataFrame)#

Serializable cohort identity: filter, member snapshot (pinned full uids) and a deterministic hash.

Attributes table#

Methods table#

load(path)

Read a manifest written by write().

write(path)

Write JSON to path; members spill to a parquet sidecar when large.

Attributes#

schema_version: str#
created_at: str#
source: Source#
filter: dict[str, Any]#
hash: str#
members: DataFrame#

Methods#

classmethod load(path: str | Path) → CohortManifest#

Read a manifest written by write().

write(path: str | Path) → Path#

Write JSON to path; members spill to a parquet sidecar when large. Returns the path.