Retry Policy
RetryPolicy configures how Waymark responds when an action raises an
exception. It's passed to Workflow.run_action(...) per call. See the
Retries & Timeouts guide for the conceptual
walk-through; this page is the precise API surface.
CLASSwaymark.workflow.RetryPolicy
Retry policy for action execution.
Maps to IR RetryPolicy: [ExceptionType -> retry: N, backoff: Xs]
Args: attempts: Maximum number of retry attempts. exception_types: List of exception type names to retry on. Empty = catch all. backoff_seconds: Constant backoff duration between retries in seconds.
Class Constructor
- Name
attempts- Type
- Optional[int]
- Description
Default: None
- Name
exception_types- Type
- Optional[list[str]]
- Description
Default: None
- Name
backoff_seconds- Type
- Optional[float]
- Description
Default: None