fix: correct return type in _load_wsgi_app function
This commit is contained in:
parent
edaccb59bb
commit
59d6ae2fd2
@ -55,7 +55,8 @@ def _load_wsgi_app() -> Callable[..., Any]:
|
||||
if is_factory:
|
||||
result: Callable[..., Any] = app_or_factory()
|
||||
return result
|
||||
return app_or_factory # type: ignore[return-value]
|
||||
loaded_app: Callable[..., Any] = app_or_factory
|
||||
return loaded_app
|
||||
|
||||
|
||||
def _create_asgi_app() -> Any:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user