Skip to content

Commit 10f8cc8

Browse files
committed
fix: Remove unnecessary constructor from ResourceServerSettings
1 parent 3e798bf commit 10f8cc8

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)