fix(auth): use dict[str, Any] for kwargs, add typing.Any import

This commit is contained in:
Jacob Magar
2026-03-16 10:40:29 -04:00
parent 0f46cb9713
commit b319cf4932

View File

@@ -5,6 +5,7 @@ separate modules for configuration, core functionality, subscriptions, and tools
"""
import sys
from typing import Any
from fastmcp import FastMCP
from fastmcp.server.auth.providers.google import GoogleProvider
@@ -95,7 +96,7 @@ def _build_google_auth() -> "GoogleProvider | None":
"Auth will be applied but may not work as expected."
)
kwargs: dict[str, str] = {
kwargs: dict[str, Any] = {
"client_id": GOOGLE_CLIENT_ID,
"client_secret": GOOGLE_CLIENT_SECRET,
"base_url": UNRAID_MCP_BASE_URL,