Skip to content

Feature request: Async support #87

Open

Description

@NickNaskida

Please describe your feature request.

I want Paddle sdk to have optional support for async client and functions.

Describe your solution.

I want to have an async paddle client: from paddle_billing import AsyncClient.

All paddle API-related functions will be async and the client will use lib like httpx to call the paddle apis

Describe alternatives you have considered.

No response

Additional context

It will be beneficial for people who build with FastAPI and other frameworks that support async.

Activity

  1. changed the title [-]Async support[/-] [+]Feature request: Async support[/+] on Jan 6, 2025
  2. davidgrayston-paddle commented on Jan 8, 2025

    @davidgrayston-paddle
    Contributor

    Hi @NickNaskida 👋

    Thank you for creating this feature request, async support will be a good enhancement to the SDK, which we will look to add to our roadmap

  3. Ahmed48-C commented on Jan 14, 2025

    @Ahmed48-C

    Hi @NickNaskida 👋

    Thank you for creating this feature request, async support will be a good enhancement to the SDK, which we will look to add to our roadmap

    Hello @davidgrayston-paddle

    I am willing to try and tackle this issue if possible.

  4. davidgrayston-paddle commented on Jan 31, 2025

    @davidgrayston-paddle
    Contributor

    Hi @NickNaskida 👋

    As we will not be adding async support in the short-term, please feel free to contribute to the project by opening a PR, following the contributing guidance.

    If you are unable to fully implement async support, we would still appreciate draft PRs as a starting point for us to take forward.

    As you have proposed, this could be a new paddle_billing.AsyncClient making use of the httpx client.

    Please, where possible, try to avoid introducing unnecessary new dependencies or breaking changes, and please reuse existing SDK functionality to avoid any duplication.

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

Metadata

Metadata

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