MCPcopy Create free account
hub / github.com/binance/binance-connector-python / should_retry_request

Function should_retry_request

common/src/binance_common/utils.py:314–338  ·  view source on GitHub ↗

Determines whether a request should be retried based on the error. :param error: The error object to check. :param method: The HTTP method of the request (optional). :param retries_left: The number of retries left (optional). :return: True if the request should be retried, False oth

(
    error, method: Optional[str] = None, retries_left: Optional[int] = None
)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Calls

no outgoing calls