演示目录只保留可重建的源码。运行密钥、数据卷、依赖和带口令的本地配置不进入仓库。 Co-authored-by: Cursor <cursoragent@cursor.com>
24 lines
665 B
Python
24 lines
665 B
Python
from pydantic import Field
|
|
from pydantic_settings import BaseSettings
|
|
|
|
|
|
class HuaweiCloudConfig(BaseSettings):
|
|
"""
|
|
Configuration settings for Huawei cloud search service
|
|
"""
|
|
|
|
HUAWEI_CLOUD_HOSTS: str | None = Field(
|
|
description="Hostname or IP address of the Huawei cloud search service instance",
|
|
default=None,
|
|
)
|
|
|
|
HUAWEI_CLOUD_USER: str | None = Field(
|
|
description="Username for authenticating with Huawei cloud search service",
|
|
default=None,
|
|
)
|
|
|
|
HUAWEI_CLOUD_PASSWORD: str | None = Field(
|
|
description="Password for authenticating with Huawei cloud search service",
|
|
default=None,
|
|
)
|