Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
diegomedina248 committed Apr 26, 2022
1 parent 70e8ce2 commit 84cdf5d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions superset/queries/schemas.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
from typing import List

from marshmallow import fields, Schema
from marshmallow_sqlalchemy import SQLAlchemyAutoSchema

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

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

0 comments on commit 84cdf5d

Please sign in to comment.