Durable step signatures
The durable step signatures the Python SDK declares, straight from its own declarations.
The durable step signatures the Python SDK declares, straight from its own declarations.
Signatures, parameters, defaults and return types come straight from the declarations, so they cannot drift from the code. Prose, examples and gotchas live on the hand-written pages this section sits beside.
Generated from sdks/python/flexiq/_flexiq.pyi.
AttachedSteps()AttachedSteps(
relay: Any,
job_frame: str,
snapshot: bytes,
supported: bool
)steps.open_step_session()steps.open_step_session(job_id: str, attempt: int) -> StepSessiondecision.idempotency_keydecision.idempotency_key: strdecision.memoizeddecision.memoized: bytes | Nonedecision.step_keydecision.step_key: strsession.begin_run()session.begin_run(name: str, key: str | None = None) -> StepDecisionsession.commit_run()session.commit_run(decision: StepDecision, encoded: bytes) -> Nonesession.finish()session.finish() -> Nonesession.idempotency_key()session.idempotency_key(step_key: str) -> strsession.run_key()session.run_key() -> strsession.sleep_for()session.sleep_for(
duration_ms: int,
name: str | None = None,
key: str | None = None
) -> StepSleepOutcomesession.sleep_until()session.sleep_until(
wake_at: int,
name: str | None = None,
key: str | None = None
) -> StepSleepOutcomeoutcome.elapsedoutcome.elapsed: booloutcome.step_keyoutcome.step_key: stroutcome.wake_atoutcome.wake_at: intsteps.open_step_session()steps.open_step_session(job_id: str, attempt: int) -> StepSessionsteps.ownersteps.owner: str