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
parent 3f9d6759d4
commit 5eb00502ec
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,
)