Fix mypy errors introduced in b007afc901

This commit is contained in:
Jonas Schäfer
2021-05-27 16:33:46 +02:00
parent 28e01c336d
commit 13b2a76c3d
6 changed files with 36 additions and 37 deletions

View File

@@ -271,9 +271,8 @@ class ProsodyClient:
def init_app(self, app: quart.Quart) -> None:
app.config[self.CONFIG_ENDPOINT]
# the type annotation in quart seems to be wrong here
app.teardown_appcontext(self._plain_session.teardown) # type:ignore
app.teardown_appcontext(self._auth_session.teardown) # type:ignore
app.teardown_appcontext(self._plain_session.teardown)
app.teardown_appcontext(self._auth_session.teardown)
@property
def _endpoint_base(self) -> str: