Skip to content

Commit

Permalink
suppress errors in tools/sapp
Browse files Browse the repository at this point in the history
Differential Revision: D47737312

fbshipit-source-id: a1c08c9f7039afb6624aec9c467a9da741f010e4
  • Loading branch information
generatedunixname89002005307016 authored and facebook-github-bot committed Jul 25, 2023
1 parent 7fb9c99 commit 508c078
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sapp/ui/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 508c078

Please sign in to comment.