Add pyright strict mode on the whole project (#1254)

This commit is contained in:
Marcelo Trylesinski 2025-08-11 19:56:37 +02:00 • committed by GitHub
commit c7671e470c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -45,7 +45,8 @@ class ResourceServerSettings(BaseSettings):
# RFC 8707 resource validation
oauth_strict: bool = False
def __init__(self, **data):
# 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)