quart
quart copied to clipboard
An async Python micro framework for building web applications.
Do not overwrite the logHandler on `app.run()`. Instead propagate it to hypercorn, so ``` logHandler = RotatingFileHandler(...) app.logger.addHandler(logHandler) app.run(...) ``` works as expected...
Fixes propagating exceptions when the `PROPAGATE_EXCEPTIONS` config setting is set to `True` by fixing exception handling in `ASGIHTTPConnection`. Currently, when `PROPAGATE_EXCEPTIONS` is set to `True` it returns the traceback as...
[`asyncio.create_task()`](https://docs.python.org/3/library/asyncio-task.html#asyncio.create_task) from the standard library allows for identifying tasks with names. This seems particularly handy in case where you want to know about the status of a background task in...
When setting the `PROPAGATE_EXCEPTIONS` config variable to `True`, the ASGI app does not propagate the exceptions but instead returns the traceback as HTML. The expected behavior is to propagate the...
Fixes #371 without pinning Flask to 3.0.0 - [x ] Run `pre-commit` hooks and fix any issues. A three line change, as per the title: 
https://www.python.org/downloads/release/python-3140/ https://py-free-threading.github.io/porting
As mentioned in issue, `AnyStr` is consistently used as outlined by the python docs how not to use it: https://docs.python.org/3.14/library/typing.html#typing.AnyStr and deprecated as of 3.13 This PR changes any occurences...
`AnyStr` in the current code base is used incorrectly, almost as directly outlined in the documentation how not to use it. https://docs.python.org/3.14/library/typing.html#typing.AnyStr It is also deprecated as of python 3.13...
Fixes stale link to the CONTRIBUTING file.
I use quart reloader in a "git bash" windows from git for windows. When quart reloads the bash process take control again of the terminal. Further presses of CTRL+C keystrokes...