diff --git a/sapp/ui/server.py b/sapp/ui/server.py index f158dedd..7d735488 100644 --- a/sapp/ui/server.py +++ b/sapp/ui/server.py @@ -36,6 +36,9 @@ session: Optional[Session] = None +# pyre-fixme[56]: While applying decorator `application.teardown_request`: For 1st +# argument expected `T_teardown` but got `(exception: Optional[Exception] = ...) -> +# None`. @application.teardown_request def shutdown_session(exception: Optional[Exception] = None) -> None: if session is not None: