chore: use singular style in middleware config class name (#5502)

This commit is contained in:
Bowen Liang 2024-06-22 18:26:38 +08:00 • committed by GitHub
commit 29ca6815ae
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 44 additions and 43 deletions

View file

@ -1,34 +0,0 @@
from typing import Optional
from pydantic import BaseModel, Field, PositiveInt
class OracleConfigs(BaseModel):
"""
ORACLE configs
"""
ORACLE_HOST: Optional[str] = Field(
description='ORACLE host',
default=None,
)
ORACLE_PORT: Optional[PositiveInt] = Field(
description='ORACLE port',
default=None,
)
ORACLE_USER: Optional[str] = Field(
description='ORACLE user',
default=None,
)
ORACLE_PASSWORD: Optional[str] = Field(
description='ORACLE password',
default=None,
)
ORACLE_DATABASE: Optional[str] = Field(
description='ORACLE database',
default=None,
)