symphony.bdk.core.retry.strategy#

Functions

authentication_retry(retry_state)

Authentication retry strategy

can_authentication_be_retried(exception)

Checks if the exception is a network issue or internal or retry error i.e. is an ApiException with status code 429 or greater or equal to 500.

is_client_error(exception)

is_client_timeout_error(exception)

Checks if the exception is a client timeout error

is_network_or_minor_error(exception)

Checks if the exception is a network issue or an ApiException minor error (internal + unauthorized + retry).

is_network_or_minor_error_or_client(exception)

Checks if the exception is a network issue or an ApiException minor error or a client error

is_unauthorized(exception)

read_datafeed_retry(retry_state)

Read datafeed retry strategy

read_datahose_retry(retry_state)

Read datahose retry strategy

refresh_session_if_unauthorized(retry_state)

Refreshing AuthSession tokens retry strategy