sym.sdk.request_destination.RequestDestinationFallback

class sym.sdk.request_destination.RequestDestinationFallback(*, destinations: List[sym.sdk.request_destination.RequestDestination], continue_on_delivery_failure: bool = True, continue_on_timeout: bool = False)

Bases: pydantic.main.BaseModel

A list of RequestDestination to attempt to send requests to. The next RequestDestination will be attempted based on the failure mode configuration.

field continue_on_delivery_failure: bool = True

If set to True, if Sym fails to deliver a Request to a RequestDestination (such as when the Slack Channel does not exist), then the next RequestDestination in the destinations list will be attempted.

field continue_on_timeout: bool = False

If set to True, if the current Request times out, then a new Request will be sent to the next RequestDestination in the destinations list.

field destinations: List[sym.sdk.request_destination.RequestDestination] [Required]

The list of RequestDestination objects to attempt to send requests to.