chore: Update mypy and fix stubs issue (#24033)

This commit is contained in:
EugeneTorap
2023-05-12 10:47:14 +03:00
committed by GitHub
parent 7fe0ca12c0
commit 4a828f57f4
22 changed files with 49 additions and 39 deletions

View File

@@ -107,7 +107,7 @@ class ProfilingExtension: # pylint: disable=too-few-public-methods
self.interval = interval
def init_app(self, app: Flask) -> None:
app.wsgi_app = SupersetProfiler(app.wsgi_app, self.interval) # type: ignore
app.wsgi_app = SupersetProfiler(app.wsgi_app, self.interval)
APP_DIR = os.path.join(os.path.dirname(__file__), os.path.pardir)