Fix type annotations after bumping dependencies

This commit is contained in:
Jonas Schäfer
2021-05-18 14:33:06 +02:00
parent 03573d1f05
commit c58ce8450f
7 changed files with 42 additions and 40 deletions

View File

@@ -272,8 +272,9 @@ class ProsodyClient:
def init_app(self, app: quart.Quart) -> None:
app.config[self.CONFIG_ENDPOINT]
app.teardown_appcontext(self._plain_session.teardown)
app.teardown_appcontext(self._auth_session.teardown)
# 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
@property
def _endpoint_base(self) -> str: