Skip to content

Make the SDK Async-friendly #59

Description

@dabeeeenster

If folk want to use this SDK in an async/non-blocking environment like FastAPI they will not have a good time. We should move to using async-friendly libraries.

Activity

  1. tushar5526 commented on Jan 19, 2024

    @tushar5526
    Contributor

    I like how sync and async clients are created in encode/httpx https://github.com/encode/httpx/blob/master/httpx/_client.py. Something similar can be used here, the only thing concerning would be a lot of duplicated codes, doc strings for Sync and async clients, but I don't think there are any workarounds for that.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions