Add au integration for production-ready async backends #4
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Implements full working integration between qh and au (https://github.com/i2mint/au). This allows qh to use au's powerful backend system while maintaining qh's clean function-per-endpoint HTTP interface.
What This Enables
Users can now choose between:
Key Features
Integration Layer (qh/au_integration.py)
Working Example
What au Provides That Built-in Doesn't
Files Added
qh/au_integration.py (313 lines)
examples/qh_au_integration_example.py (189 lines)
QH_AU_INTEGRATION_REPORT.md
QH_AU_FINAL_SUMMARY.md
qh/init.py (modified)
Testing
Tested with:
Usage Patterns
Development to Production
Mixed Backends
Dependencies
au is optional. If not installed, qh continues to work with built-in backends. Users can install with: pip install au
For Redis backend: pip install au[redis]
Design Philosophy
Future Work
For qh:
For au (recommendations):
Related Issues
This addresses the async task processing requirements while maintaining qh's philosophy of minimal boilerplate with maximum flexibility.