fix: address second round of review feedback
- Remove dead monkeypatch in test_stdio_calls_get_stdio_mcp - Add _reload_config() teardown to single_user_env fixture - Tighten AVAILABLE_APPS type to Callable[[FastMCP], None] Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
e9c46a04a0
commit
1af85bc05e
@@ -1,4 +1,6 @@
|
||||
from typing import Callable
|
||||
from collections.abc import Callable
|
||||
|
||||
from mcp.server.fastmcp import FastMCP
|
||||
|
||||
from .calendar import configure_calendar_tools
|
||||
from .collectives import configure_collectives_tools
|
||||
@@ -16,7 +18,7 @@ from .webdav import configure_webdav_tools
|
||||
# Used by app.py (HTTP), stdio.py (stdio), and cli.py (--enable-app choices).
|
||||
# Semantic search is excluded here because it is a cross-app feature gated
|
||||
# by VECTOR_SYNC_ENABLED, not an individual Nextcloud app.
|
||||
AVAILABLE_APPS: dict[str, Callable] = {
|
||||
AVAILABLE_APPS: dict[str, Callable[[FastMCP], None]] = {
|
||||
"notes": configure_notes_tools,
|
||||
"tables": configure_tables_tools,
|
||||
"webdav": configure_webdav_tools,
|
||||
|
||||
Reference in New Issue
Block a user