fix: Remove unnecessary constructor from ResourceServerSettings (#1424)

Co-authored-by: Felix Weinberger <3823880+felixweinberger@users.noreply.github.com>
This commit is contained in:
Rocky Haotian Du 2025-10-14 15:21:15 +08:00 • committed by GitHub
commit eb34ab7c72
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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:
"""