Skip to content

Retry logic not compatible with urllib3 Retry (requests adapter) #8

Open

Description

@francescobianco

Retry logic not compatible with urllib3 Retry (requests adapter)

Description
Cannot integrate SDK with urllib3 retry strategies.

Code snippet

from requests.adapters import HTTPAdapter
from urllib3.util.retry import Retry

retry = Retry(total=3)
adapter = HTTPAdapter(max_retries=retry)

session = requests.Session()
session.mount("https://", adapter)

client = Client("token")

Issue
No way to plug custom transport layer.

Activity

  1. Deadpool2000 commented on Apr 5, 2026

    @Deadpool2000
    Contributor

    Hey @francescobianco ,

    Check this PR #15

    Check and Let me know !

  2. francescobianco commented on Apr 28, 2026

    @francescobianco
    MemberAuthor

    @Deadpool2000 - Pull request successfully merged and closed! Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or request

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions