Skip to content

Commit

Permalink
fix: type error in config (#5643)
Browse files Browse the repository at this point in the history
  • Loading branch information
takatost committed Jun 26, 2024
1 parent 8d9a459 commit 0dfdb61
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion api/configs/feature/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ class MailConfig(BaseModel):

SMTP_PORT: Optional[int] = Field(
description='smtp server port',
default=None,
default=465,
)

SMTP_USERNAME: Optional[str] = Field(
Expand Down
2 changes: 1 addition & 1 deletion api/configs/middleware/vdb/oracle_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class OracleConfig(BaseModel):

ORACLE_PORT: Optional[PositiveInt] = Field(
description='ORACLE port',
default=None,
default=1521,
)

ORACLE_USER: Optional[str] = Field(
Expand Down
2 changes: 1 addition & 1 deletion api/configs/middleware/vdb/pgvector_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class PGVectorConfig(BaseModel):

PGVECTOR_PORT: Optional[PositiveInt] = Field(
description='PGVector port',
default=None,
default=5433,
)

PGVECTOR_USER: Optional[str] = Field(
Expand Down
2 changes: 1 addition & 1 deletion api/configs/middleware/vdb/pgvectors_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class PGVectoRSConfig(BaseModel):

PGVECTO_RS_PORT: Optional[PositiveInt] = Field(
description='PGVectoRS port',
default=None,
default=5431,
)

PGVECTO_RS_USER: Optional[str] = Field(
Expand Down
2 changes: 1 addition & 1 deletion api/configs/middleware/vdb/tidb_vector_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class TiDBVectorConfig(BaseModel):

TIDB_VECTOR_PORT: Optional[PositiveInt] = Field(
description='TiDB Vector port',
default=None,
default=4000,
)

TIDB_VECTOR_USER: Optional[str] = Field(
Expand Down

0 comments on commit 0dfdb61

Please sign in to comment.