mirror of
https://github.com/langgenius/dify.git
synced 2026-01-03 21:17:09 +00:00
[Chore/Refactor] use __all__ to specify export member. (#25681)
This commit is contained in:
@@ -14,6 +14,13 @@ api = ExternalApi(
|
||||
|
||||
mcp_ns = Namespace("mcp", description="MCP operations", path="/")
|
||||
|
||||
from . import mcp # pyright: ignore[reportUnusedImport]
|
||||
from . import mcp
|
||||
|
||||
api.add_namespace(mcp_ns)
|
||||
|
||||
__all__ = [
|
||||
"api",
|
||||
"bp",
|
||||
"mcp",
|
||||
"mcp_ns",
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user