stateless mode for fastmcp entrypoint
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import inspect
|
||||
import logging
|
||||
|
||||
import re
|
||||
from functools import wraps
|
||||
from typing import Dict, List, Optional, Any, Callable, Union, Tuple
|
||||
@@ -38,9 +39,7 @@ from auth.scopes import (
|
||||
CUSTOM_SEARCH_SCOPE,
|
||||
)
|
||||
|
||||
# OAuth 2.1 integration is now handled by FastMCP auth
|
||||
OAUTH21_INTEGRATION_AVAILABLE = True
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
# Authentication helper functions
|
||||
def _get_auth_context(
|
||||
@@ -236,9 +235,6 @@ async def get_authenticated_google_service_oauth21(
|
||||
return service, user_google_email
|
||||
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
|
||||
def _remove_user_email_arg_from_docstring(docstring: str) -> str:
|
||||
"""
|
||||
Remove user_google_email parameter documentation from docstring.
|
||||
|
||||
Reference in New Issue
Block a user