Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
villebro committed Jun 18, 2021
1 parent a45d8f3 commit 89b32f8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion superset/connectors/connector_registry.py
Expand Up @@ -87,7 +87,7 @@ def get_datasource_by_id( # pylint: disable=too-many-arguments
:return: Datasource corresponding to the id
:raises NoResultFound: if no datasource is found corresponding to the id
"""
for datasource_type, datasource_class in ConnectorRegistry.sources.items():
for datasource_class in ConnectorRegistry.sources.values():
try:
return (
session.query(datasource_class)
Expand Down
2 changes: 1 addition & 1 deletion superset/dashboards/commands/importers/v0.py
Expand Up @@ -19,7 +19,7 @@
import time
from copy import copy
from datetime import datetime
from typing import Any, Dict, List, Optional
from typing import Any, Dict, Optional

from flask_babel import lazy_gettext as _
from sqlalchemy.orm import make_transient, Session
Expand Down

0 comments on commit 89b32f8

Please sign in to comment.