Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
mistercrunch committed May 28, 2024
1 parent 2bc9ae9 commit e0ac501
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion superset/views/tags.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
from jinja2.sandbox import SandboxedEnvironment
from werkzeug.exceptions import NotFound

from superset import utils
from superset.extensions import db, feature_flag_manager
from superset.jinja_context import ExtraCache
from superset.superset_typing import FlaskResponse
Expand Down
2 changes: 1 addition & 1 deletion superset/views/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -575,7 +575,7 @@ def redirect_with_flash(url: str, message: str, category: str) -> Response:
def json_errors_response(
errors: list[SupersetError],
status: int = 500,
payload: dict[str, Any] | None = None,
payload: Union[dict[str, Any], None] = None,
) -> FlaskResponse:
payload = payload or {}

Expand Down

0 comments on commit e0ac501

Please sign in to comment.