Skip to content

Commit eb34ab7

Browse files
fix: Remove unnecessary constructor from ResourceServerSettings (modelcontextprotocol#1424)
Co-authored-by: Felix Weinberger <[email protected]>
1 parent 7a933fe commit eb34ab7

File tree

1 file changed

+0
-5
lines changed
  • examples/servers/simple-auth/mcp_simple_auth

1 file changed

+0
-5
lines changed

examples/servers/simple-auth/mcp_simple_auth/server.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,6 @@ class ResourceServerSettings(BaseSettings):
4545
# RFC 8707 resource validation
4646
oauth_strict: bool = False
4747

48-
# TODO(Marcelo): Is this even needed? I didn't have time to check.
49-
def __init__(self, **data: Any):
50-
"""Initialize settings with values from environment variables."""
51-
super().__init__(**data)
52-
5348

5449
def create_resource_server(settings: ResourceServerSettings) -> FastMCP:
5550
"""

0 commit comments

Comments
 (0)