Skip to content

v1.1.x - Introduce async functionality #39

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 7 commits into
base: dev
Choose a base branch
from
Draft

v1.1.x - Introduce async functionality #39

wants to merge 7 commits into from

Conversation

frissyn
Copy link
Owner

@frissyn frissyn commented Apr 6, 2022

These changes aim to re-introduce asynchronous request functionality to valorant.py. The original implementation was naïve and still made blocking requests to the API.

This will add the aiohttp dependency, and while I did want to keep the library dependency free for as long as possible, this functionality is too crucial to ignore.

The AsyncClient and its components will be introduced in v1.1.0, and other working changes will be added to v1.0.x in the meantime.

Developement:

  • Refactor WebCaller to be more resource efficent.
  • Create an AioCaller client using aiohttp.
    • Add asyncio loop support.
    • Add response Retry-After support.
  • Provide async helper utilities?

@frissyn frissyn added tag: enhancement New feature or request type: feature Add something that doesn't exist yet. tag: important labels Apr 6, 2022
@frissyn frissyn added this to the v1.1.x milestone Apr 6, 2022
@frissyn frissyn self-assigned this Apr 6, 2022
@frissyn frissyn changed the base branch from master to dev April 9, 2022 00:15
@frissyn
Copy link
Owner Author

frissyn commented Jun 11, 2022

Forgot about this cuz of end-of-semester grades lol, will get back on this soon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tag: enhancement New feature or request tag: important type: feature Add something that doesn't exist yet.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant