[Chore/Refactor] use __all__ to specify export member. (#25681)
This commit is contained in:
parent
a3f2c05632
commit
67a686cf98
6 changed files with 192 additions and 80 deletions
|
|
@ -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",
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue