Skip to content

Commit cd6df4a

Browse files
committed
add default value for optional jwks_url settings parameter
1 parent ea63296 commit cd6df4a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/ingestor-api/runtime/src/config.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ class Settings(BaseSettings):
2222
root_path: Optional[str] = Field(description="Path from where to serve this URL.")
2323

2424
jwks_url: Optional[HttpUrlString] = Field(
25-
description="URL of JWKS, e.g. https://cognito-idp.{region}.amazonaws.com/{userpool_id}/.well-known/jwks.json" # noqa
25+
default=None,
26+
description="URL of JWKS, e.g. https://cognito-idp.{region}.amazonaws.com/{userpool_id}/.well-known/jwks.json", # noqa
2627
)
2728

2829
stac_url: HttpUrlString = Field(description="URL of STAC API")

0 commit comments

Comments
 (0)