mirror of
https://github.com/apache/superset.git
synced 2026-08-12 11:11:01 +00:00
refactor(mcp): move superset_core MCP module from mcp to api/mcp (#38394)
This commit is contained in:
@@ -28,8 +28,8 @@ import logging
|
||||
from typing import Any
|
||||
|
||||
from fastmcp import Context
|
||||
from superset_core.api.mcp import tool
|
||||
from superset_core.api.types import CacheOptions, QueryOptions, QueryResult, QueryStatus
|
||||
from superset_core.mcp import tool
|
||||
|
||||
from superset.errors import ErrorLevel, SupersetError, SupersetErrorType
|
||||
from superset.exceptions import SupersetErrorException, SupersetSecurityException
|
||||
|
||||
@@ -25,7 +25,7 @@ import logging
|
||||
from urllib.parse import urlencode
|
||||
|
||||
from fastmcp import Context
|
||||
from superset_core.mcp import tool
|
||||
from superset_core.api.mcp import tool
|
||||
|
||||
from superset.extensions import event_logger
|
||||
from superset.mcp_service.sql_lab.schemas import (
|
||||
|
||||
Reference in New Issue
Block a user