chore: clean-up unnecessary annotation on configs with non-null default value (#9323)

This commit is contained in:
Bowen Liang 2024-10-14 23:47:58 +08:00 • committed by GitHub
commit 5eb00502ec
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 27 additions and 15 deletions

View file

@ -14,7 +14,7 @@ class OracleConfig(BaseSettings):
default=None,
)
ORACLE_PORT: Optional[PositiveInt] = Field(
ORACLE_PORT: PositiveInt = Field(
description="Port number on which the Oracle database server is listening (default is 1521)",
default=1521,
)