2024-12-10 02:51:20 +08:00
|
|
|
from pydantic import Field
|
|
|
|
|
|
|
|
from .apollo import ApolloSettingsSourceInfo
|
|
|
|
from .base import RemoteSettingsSource
|
|
|
|
from .enums import RemoteSettingsSourceName
|
|
|
|
|
|
|
|
|
|
|
|
class RemoteSettingsSourceConfig(ApolloSettingsSourceInfo):
|
2024-12-11 09:35:25 +08:00
|
|
|
REMOTE_SETTINGS_SOURCE_NAME: RemoteSettingsSourceName | str = Field(
|
2024-12-10 02:51:20 +08:00
|
|
|
description="name of remote config source",
|
2024-12-11 09:35:25 +08:00
|
|
|
default="",
|
2024-12-10 02:51:20 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
__all__ = ["RemoteSettingsSource", "RemoteSettingsSourceConfig", "RemoteSettingsSourceName"]
|