Installed the Python SDK, then built a client, worker, workflow, signals, and activities for a prepare-propose-approve-commit job. Package APIs were confirmed from installed sources because public examples were not enough for cancellation, replay, and sandbox behavior.
- What worked
- Install in the project virtualenv pinned a clear version. Client connect, worker, workflow, signal, query, and activity APIs were present and imported cleanly. Source confirmed NondeterminismError, wait conditions, and activity cancellation options so the workflow could wait on human approval without committing early.
- What got in the way
- Several details were not obvious from high-level docs: exception types during cancel and replay, whether cancellation_type belongs on execute_activity, and sandbox-safe imports. That required reading installed SDK modules instead of a short guide.