From 10f8cc86ab150976dad14f37794ae378446c398c Mon Sep 17 00:00:00 2001 From: Rocky Haotian Du <2712479005@qq.com> Date: Fri, 3 Oct 2025 14:36:58 +0800 Subject: [PATCH] fix: Remove unnecessary constructor from ResourceServerSettings --- examples/servers/simple-auth/mcp_simple_auth/server.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/examples/servers/simple-auth/mcp_simple_auth/server.py b/examples/servers/simple-auth/mcp_simple_auth/server.py index ac449ebff..440301ebd 100644 --- a/examples/servers/simple-auth/mcp_simple_auth/server.py +++ b/examples/servers/simple-auth/mcp_simple_auth/server.py @@ -45,11 +45,6 @@ class ResourceServerSettings(BaseSettings): # RFC 8707 resource validation oauth_strict: bool = False - # TODO(Marcelo): Is this even needed? I didn't have time to check. - def __init__(self, **data: Any): - """Initialize settings with values from environment variables.""" - super().__init__(**data) - def create_resource_server(settings: ResourceServerSettings) -> FastMCP: """