Skip to content
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

feat: proper asyncio support, horde context manager #8

Merged
merged 1 commit into from
Jul 13, 2023

Conversation

tazlin
Copy link
Member

@tazlin tazlin commented Jul 13, 2023

  • e.g. AIHordeAPISimpleClient, AIHordeAPISession, and AIHordeAPIClient all support async/await operations.
  • Requests which require some sort of follow up, such as image generation requests, now can have the appropriate cancel request sent automatically with
  • See AIHordeAPISession (new context handler) or its usage in test_ai_horde_api_calls.py for an idea of what was accomplished.

- e.g. `AIHordeAPISimpleClient`, `AIHordeAPISession`, and `AIHordeAPIClient`
- Requests which require some sort of follow up, such as image generation requests, now can have the appropriate cancel request sent automatically with
- See `AIHordeAPISession` (new context handler) or its usage in `test_ai_horde_api_calls.py` for an idea of what was accomplished.
@tazlin tazlin merged commit 6e356a9 into main Jul 13, 2023
1 check passed
@tazlin tazlin deleted the asyncio-and-context-handlers branch October 22, 2023 13:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant