Skip to main content

aip_sdk.RunConfig

aip_sdk.RunConfig(retry_attempts: int = 3, retry_backoff_initial: float = 1.0, retry_backoff_multiplier: float = 2.0, retry_backoff_max: float = 30.0)

Backoff and retry configuration for external runner dispatch.

Controls how the ExternalRunner retries connection failures when communicating with the AIP platform. After retry_attempts failures the SDK raises RunConnectionError.

Attributes

  • retry_attempts int: Maximum number of connection attempts before giving up.
  • retry_backoff_initial float: Seconds to wait before the first retry.
  • retry_backoff_multiplier float: Factor applied to backoff after each attempt.
  • retry_backoff_max float: Upper bound on the backoff interval in seconds.

aip_sdk.RunConfig.retry_attempts​

aip_sdk.RunConfig.retry_attempts: int = 3

No docstring is defined in the source.

aip_sdk.RunConfig.retry_backoff_initial​

aip_sdk.RunConfig.retry_backoff_initial: float = 1.0

No docstring is defined in the source.

aip_sdk.RunConfig.retry_backoff_max​

aip_sdk.RunConfig.retry_backoff_max: float = 30.0

No docstring is defined in the source.

aip_sdk.RunConfig.retry_backoff_multiplier​

aip_sdk.RunConfig.retry_backoff_multiplier: float = 2.0

No docstring is defined in the source.