_ExecutionsAPI
Namespace for execution lifecycle and inspection operations.
Functions
func__init__(self, client) -> NoneparamselfparamclientKitaruClientReturns
Nonefunc_rest_store(self) -> RestZenStoreReturn a REST-backed zen store required for runtime log retrieval.
paramselfReturns
zenml.zen_stores.rest_zen_store.RestZenStorefunc_resolve_log_endpoint_hint(self) -> str | NoneResolve a best-effort endpoint hint for log-retrieval errors.
paramselfReturns
str | Nonefunc_fetch_log_payload(self, *, path, source) -> builtins.list[Mapping[str, Any]]Call a log endpoint and normalize the response payload shape.
paramselfparampathstrparamsourcestrReturns
builtins.builtins.list[collections.abc.Mapping[str, typing.Any]]funclogs(self, exec_id, *, checkpoint=None, source='step', limit=None) -> builtins.list[LogEntry]Fetch runtime log entries for an execution.
paramselfparamexec_idstrparamcheckpointstr | None= Noneparamsourcestr= 'step'paramlimitint | None= NoneReturns
builtins.builtins.list[kitaru._client._models.LogEntry]funcpending_waits(self, exec_id) -> builtins.list[PendingWait]List all pending wait conditions for an execution.
paramselfparamexec_idstrReturns
builtins.builtins.list[kitaru._client._models.PendingWait]func_resolve_wait_condition(self, exec_id, *, wait, resolution, value=None) -> ExecutionResolve a pending wait condition with the given resolution.
paramselfparamexec_idstrparamwaitstrparamresolutionstrparamvalueAny | None= NoneReturns
kitaru._client._models.Executionfuncinput(self, exec_id, *, wait, value) -> ExecutionProvide input to a waiting execution.
paramselfparamexec_idstrparamwaitstrparamvalueAnyReturns
kitaru._client._models.Executionfuncabort_wait(self, exec_id, *, wait) -> ExecutionAbort a pending wait condition on an execution.
paramselfparamexec_idstrparamwaitstrReturns
kitaru._client._models.Executionfuncretry(self, exec_id) -> ExecutionRetry a failed execution as same-execution recovery.
paramselfparamexec_idstrReturns
kitaru._client._models.Executionfuncresume(self, exec_id) -> ExecutionResume a paused execution after all waits are resolved.
paramselfparamexec_idstrReturns
kitaru._client._models.Executionfuncreplay(self, exec_id, *, from_, overrides=None, **flow_inputs) -> ExecutionReplay an execution from a checkpoint boundary.
paramselfparamexec_idstrparamfrom_strparamoverridesdict[str, Any] | None= Noneparamflow_inputsAny= {}Returns
kitaru._client._models.Executionfuncget(self, exec_id) -> ExecutionGet and map one execution by ID.
paramselfparamexec_idstrReturns
kitaru._client._models.Executionfunclist(self, *, flow=None, status=None, limit=None) -> builtins.list[Execution]List executions with optional flow/status filters.
paramselfparamflowstr | None= NoneparamstatusExecutionStatus | str | None= Noneparamlimitint | None= NoneReturns
builtins.builtins.list[kitaru._client._models.Execution]funclatest(self, *, flow=None, status=None) -> ExecutionReturn the most recent execution for a filter set.
paramselfparamflowstr | None= NoneparamstatusExecutionStatus | str | None= NoneReturns
kitaru._client._models.Executionfunccancel(self, exec_id) -> ExecutionCancel an execution if supported by the backend state.
paramselfparamexec_idstrReturns
kitaru._client._models.Execution