Skip to content

Commit

Permalink
util: use types from wsgiref.types
Browse files Browse the repository at this point in the history
These were only added in 3.11, but it's fine if type checking only
works in more recent versions
  • Loading branch information
yagebu committed Dec 25, 2024
1 parent 8840492 commit e98d326
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/fava/util/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@
from typing import Callable
from typing import ParamSpec
from typing import TypeVar
from wsgiref.types import StartResponse
from wsgiref.types import WSGIEnvironment

from _typeshed.wsgi import StartResponse
from _typeshed.wsgi import WSGIEnvironment
from babel import Locale
from flask.wrappers import Response

Expand Down

0 comments on commit e98d326

Please sign in to comment.