mirror of
https://github.com/apache/superset.git
synced 2026-05-13 03:45:12 +00:00
chore: Update mypy and fix stubs issue (#24033)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user