Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 556 Bytes

File metadata and controls

18 lines (13 loc) · 556 Bytes

Idempotent retry

The client submits the same (principal, agent, input, idempotency_key) twice and receives the same job_id both times. Demonstrates the spec §7.4 deduplication contract on the in-memory idempotency store.

Source: ../../examples/idempotent_retry/.

uv run python -m examples.idempotent_retry.server &
uv run python -m examples.idempotent_retry.client

See also