You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

huawei_cloud_config.py 703B

12345678910111213141516171819202122232425
  1. from typing import Optional
  2. from pydantic import Field
  3. from pydantic_settings import BaseSettings
  4. class HuaweiCloudConfig(BaseSettings):
  5. """
  6. Configuration settings for Huawei cloud search service
  7. """
  8. HUAWEI_CLOUD_HOSTS: Optional[str] = Field(
  9. description="Hostname or IP address of the Huawei cloud search service instance",
  10. default=None,
  11. )
  12. HUAWEI_CLOUD_USER: Optional[str] = Field(
  13. description="Username for authenticating with Huawei cloud search service",
  14. default=None,
  15. )
  16. HUAWEI_CLOUD_PASSWORD: Optional[str] = Field(
  17. description="Password for authenticating with Huawei cloud search service",
  18. default=None,
  19. )