mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
[mypy] Adding mypy linting (#7053)
This commit is contained in:
committed by
Maxime Beauchemin
parent
60a7b6df59
commit
80d6f5a090
@@ -54,7 +54,7 @@ class QueryContext:
|
||||
custom_cache_timeout: int = None,
|
||||
):
|
||||
self.datasource = ConnectorRegistry.get_datasource(datasource.get('type'),
|
||||
int(datasource.get('id')),
|
||||
int(datasource.get('id')), # noqa: E501, T400
|
||||
db.session)
|
||||
self.queries = list(map(lambda query_obj: QueryObject(**query_obj), queries))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user