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 665B

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