Skip to content

Commit

Permalink
Correct the config_class type
Browse files Browse the repository at this point in the history
It was incorrectly left as the Flask type when switching Quart to be
based on Flask.
  • Loading branch information
pgjones committed Apr 1, 2024
1 parent 153617a commit 2ed6f87
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/quart/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@

from .asgi import ASGIHTTPConnection, ASGILifespan, ASGIWebsocketConnection
from .cli import AppGroup
from .config import Config
from .ctx import (
_AppCtxGlobals,
AppContext,
Expand Down Expand Up @@ -211,6 +212,7 @@ class Quart(App):
asgi_http_class = ASGIHTTPConnection
asgi_lifespan_class = ASGILifespan
asgi_websocket_class = ASGIWebsocketConnection
config_class = Config
event_class = asyncio.Event
jinja_environment = Environment # type: ignore[assignment]
lock_class = asyncio.Lock
Expand Down

0 comments on commit 2ed6f87

Please sign in to comment.