EtcdStorageConfig

Inheritance diagram of EtcdStorageConfig

EtcdStorageConfig inheritance diagram

class savant.parameter_storage.EtcdStorageConfig(hosts, credentials=None, watch_path='savant', connect_timeout=5, watch_path_wait_timeout=5)

Etcd storage configuration parameters.

hosts: List[str]

The list of Etcd hosts to connect to. E.g. [“127.0.0.1:2379”].

credentials: Tuple[str, str] | None = None

The credentials to use for authentication.

watch_path: str = 'savant'

The path in Etcd used as the source of the state.

connect_timeout: int = 5

The timeout for connecting to Etcd.

watch_path_wait_timeout: int = 5

Waiting timeout for the watch path.