mirror of
https://github.com/apache/superset.git
synced 2026-05-21 15:55:10 +00:00
fix(mcp): fix unsorted imports in middleware.py
Move MCPPermissionDeniedError after underscore-prefixed import to satisfy ruff I001 (isort ordering: underscore names sort before M). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -39,10 +39,10 @@ from superset.commands.exceptions import (
|
||||
from superset.exceptions import SupersetException, SupersetSecurityException
|
||||
from superset.extensions import event_logger
|
||||
from superset.mcp_service.auth import (
|
||||
MCPPermissionDeniedError,
|
||||
_get_app_context_manager,
|
||||
get_user_from_request,
|
||||
is_tool_visible_to_current_user,
|
||||
MCPPermissionDeniedError,
|
||||
)
|
||||
from superset.mcp_service.constants import (
|
||||
DEFAULT_TOKEN_LIMIT,
|
||||
|
||||
Reference in New Issue
Block a user