Skip to content

Commit

Permalink
Import or_ in places where it's needed
Browse files Browse the repository at this point in the history
  • Loading branch information
adamsdarlingtower committed Aug 11, 2023
1 parent 1b30ed0 commit d112bfb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion superset/views/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
from flask_wtf.csrf import CSRFError
from flask_wtf.form import FlaskForm
from pkg_resources import resource_filename
from sqlalchemy import exc
from sqlalchemy import exc, or_
from sqlalchemy.orm import Query
from werkzeug.exceptions import HTTPException
from wtforms import Form
Expand Down
2 changes: 1 addition & 1 deletion superset/views/chart/filters.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# under the License.
from typing import Any

from sqlalchemy.orm.query import Query
from sqlalchemy.orm.query import Query, or_

from superset import security_manager
from superset.utils.filters import get_dataset_access_filters
Expand Down

0 comments on commit d112bfb

Please sign in to comment.