Skip to content

Commit

Permalink
fix: add explicit float type for HTTP_REQUEST_TIMEOUT to comply with …
Browse files Browse the repository at this point in the history
…Pydantic v2 requirements

Pydantic v2 requires explicit type annotations for fields, so added `float`
to ensure proper validation of HTTP_REQUEST_TIMEOUT.
  • Loading branch information
Antonyjin committed Oct 15, 2024
1 parent cd2f8e4 commit a86da5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/aleph/sdk/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class Settings(BaseSettings):
REMOTE_CRYPTO_HOST: Optional[str] = None
REMOTE_CRYPTO_UNIX_SOCKET: Optional[str] = None
ADDRESS_TO_USE: Optional[str] = None
HTTP_REQUEST_TIMEOUT = 15.0
HTTP_REQUEST_TIMEOUT: float = 15.0

DEFAULT_CHANNEL: str = "ALEPH-CLOUDSOLUTIONS"
DEFAULT_RUNTIME_ID: str = (
Expand Down

0 comments on commit a86da5f

Please sign in to comment.