Skip to content

Commit 286c230

Browse files
committed
fix: mypy errors
1 parent d62bae1 commit 286c230

File tree

1 file changed

+1
-1
lines changed
  • aws_lambda_powertools/event_handler/openapi/swagger_ui

1 file changed

+1
-1
lines changed

aws_lambda_powertools/event_handler/openapi/swagger_ui/oauth2.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class OAuth2Config(BaseModel):
1616
clientId: str = Field(alias="client_id")
1717

1818
# The realm in which the OAuth2 application is registered. Optional.
19-
realm: Optional[str]
19+
realm: Optional[str] = Field(default=None)
2020

2121
# The name of the OAuth2 application
2222
appName: str = Field(alias="app_name")

0 commit comments

Comments
 (0)