oracle_configs.py 693 B

12345678910111213141516171819202122232425262728293031323334
  1. from typing import Optional
  2. from pydantic import BaseModel, Field, PositiveInt
  3. class OracleConfigs(BaseModel):
  4. """
  5. ORACLE configs
  6. """
  7. ORACLE_HOST: Optional[str] = Field(
  8. description='ORACLE host',
  9. default=None,
  10. )
  11. ORACLE_PORT: Optional[PositiveInt] = Field(
  12. description='ORACLE port',
  13. default=None,
  14. )
  15. ORACLE_USER: Optional[str] = Field(
  16. description='ORACLE user',
  17. default=None,
  18. )
  19. ORACLE_PASSWORD: Optional[str] = Field(
  20. description='ORACLE password',
  21. default=None,
  22. )
  23. ORACLE_DATABASE: Optional[str] = Field(
  24. description='ORACLE database',
  25. default=None,
  26. )