Repoint tests and examples off removed deprecations

Replaces FastMCP.as_proxy() helper calls with create_proxy(), rewrites the
mount() as_proxy=/prefix= kwarg tests to plain mount() (the params are gone),
and deletes deprecation-only tests for as_proxy() and remove_tool().
This commit is contained in:
Jeremiah Lowin 2026-07-06 21:32:54 -04:00
commit 6a6fdcb2bb
No known key found for this signature in database
11 changed files with 39 additions and 176 deletions

View file

@ -63,9 +63,9 @@ def check_app_status() -> dict[str, str]:
# Mount sub-applications
app.mount(server=weather_app, prefix="weather")
app.mount(server=weather_app, namespace="weather")
app.mount(server=news_app, prefix="news")
app.mount(server=news_app, namespace="news")
async def get_server_details():