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 PGVectoRSConfig(BaseSettings):
default=None,
)
PGVECTO_RS_PORT: Optional[PositiveInt] = Field(
PGVECTO_RS_PORT: PositiveInt = Field(
description="Port number on which the PostgreSQL server with PGVecto.RS is listening (default is 5431)",
default=5431,
)