cohort
Client-side cohort selection for batch replay experiments.
funccoerce_exec_ids(executions) -> list[str]Return exec IDs from a resolved cohort or plain sequence.
paramexecutionsCohortResult | Sequence[str]Returns
list[str]funccohort(*, flow, at, deployment=None, deployment_version=None, order_by='-started_at', limit=50, originals_only=True, status='completed', since=None, until=None, client=None) -> CohortQueryBuild a cohort selection query for resolve().
paramflowstrparamatstrparamdeploymentstr | None= Noneparamdeployment_versionint | None= Noneparamorder_bystr= '-started_at'paramlimitint= 50paramoriginals_onlybool= Trueparamstatusstr | Sequence[str]= 'completed'paramsincedatetime | str | None= Noneparamuntildatetime | str | None= NoneparamclientKitaruClient | None= NoneReturns
kitaru.cohort.CohortQueryfuncexecution_replay_at_status(*, execution, at) -> Literal['present', 'missing', 'ambiguous', 'no_checkpoints']Return whether at resolves on a hydrated Execution.
paramexecutionExecutionparamatstrReturns
typing.Literal['present', 'missing', 'ambiguous', 'no_checkpoints']