Spaces:
Running
Running
Jeremiah Lowin commited on
Commit ·
e66010e
1
Parent(s): 2281d7e
Pass through tags from server
Browse files
src/fastmcp/server/server.py
CHANGED
|
@@ -1561,6 +1561,7 @@ class FastMCP(Generic[LifespanResultT]):
|
|
| 1561 |
route_map_fn: OpenAPIRouteMapFn | None = None,
|
| 1562 |
mcp_component_fn: OpenAPIComponentFn | None = None,
|
| 1563 |
mcp_names: dict[str, str] | None = None,
|
|
|
|
| 1564 |
**settings: Any,
|
| 1565 |
) -> FastMCPOpenAPI:
|
| 1566 |
"""
|
|
@@ -1575,6 +1576,7 @@ class FastMCP(Generic[LifespanResultT]):
|
|
| 1575 |
route_map_fn=route_map_fn,
|
| 1576 |
mcp_component_fn=mcp_component_fn,
|
| 1577 |
mcp_names=mcp_names,
|
|
|
|
| 1578 |
**settings,
|
| 1579 |
)
|
| 1580 |
|
|
@@ -1588,6 +1590,7 @@ class FastMCP(Generic[LifespanResultT]):
|
|
| 1588 |
mcp_component_fn: OpenAPIComponentFn | None = None,
|
| 1589 |
mcp_names: dict[str, str] | None = None,
|
| 1590 |
httpx_client_kwargs: dict[str, Any] | None = None,
|
|
|
|
| 1591 |
**settings: Any,
|
| 1592 |
) -> FastMCPOpenAPI:
|
| 1593 |
"""
|
|
@@ -1615,6 +1618,7 @@ class FastMCP(Generic[LifespanResultT]):
|
|
| 1615 |
route_map_fn=route_map_fn,
|
| 1616 |
mcp_component_fn=mcp_component_fn,
|
| 1617 |
mcp_names=mcp_names,
|
|
|
|
| 1618 |
**settings,
|
| 1619 |
)
|
| 1620 |
|
|
|
|
| 1561 |
route_map_fn: OpenAPIRouteMapFn | None = None,
|
| 1562 |
mcp_component_fn: OpenAPIComponentFn | None = None,
|
| 1563 |
mcp_names: dict[str, str] | None = None,
|
| 1564 |
+
tags: set[str] | None = None,
|
| 1565 |
**settings: Any,
|
| 1566 |
) -> FastMCPOpenAPI:
|
| 1567 |
"""
|
|
|
|
| 1576 |
route_map_fn=route_map_fn,
|
| 1577 |
mcp_component_fn=mcp_component_fn,
|
| 1578 |
mcp_names=mcp_names,
|
| 1579 |
+
tags=tags,
|
| 1580 |
**settings,
|
| 1581 |
)
|
| 1582 |
|
|
|
|
| 1590 |
mcp_component_fn: OpenAPIComponentFn | None = None,
|
| 1591 |
mcp_names: dict[str, str] | None = None,
|
| 1592 |
httpx_client_kwargs: dict[str, Any] | None = None,
|
| 1593 |
+
tags: set[str] | None = None,
|
| 1594 |
**settings: Any,
|
| 1595 |
) -> FastMCPOpenAPI:
|
| 1596 |
"""
|
|
|
|
| 1618 |
route_map_fn=route_map_fn,
|
| 1619 |
mcp_component_fn=mcp_component_fn,
|
| 1620 |
mcp_names=mcp_names,
|
| 1621 |
+
tags=tags,
|
| 1622 |
**settings,
|
| 1623 |
)
|
| 1624 |
|