Skip to content

Commit 84cdf5d

Browse files
lint
1 parent 70e8ce2 commit 84cdf5d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

superset/queries/schemas.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
from typing import List
1818

1919
from marshmallow import fields, Schema
20-
from marshmallow_sqlalchemy import SQLAlchemyAutoSchema
2120

2221
from superset.dashboards.schemas import UserSchema
2322
from superset.models.sql_lab import Query
@@ -65,5 +64,6 @@ class Meta: # pylint: disable=too-few-public-methods
6564
load_instance = True
6665
include_relationships = True
6766

68-
def get_sql_tables(_, obj: Query) -> List[Table]:
67+
# pylint: disable=no-self-use
68+
def get_sql_tables(self, obj: Query) -> List[Table]:
6969
return obj.sql_tables

0 commit comments

Comments
 (0)