pypergraph.keyring.storage package

Submodules

pypergraph.keyring.storage.json_storage module

pypergraph.keyring.storage.observable_store module

class pypergraph.keyring.storage.observable_store.ObservableStore(*, is_unlocked: bool = False, wallets: ~typing.List[dict] = <factory>, observers: ~typing.List = <factory>)[source]

Bases: BaseModel

get_state()[source]
is_unlocked: bool
model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

notify_observers()[source]
observers: List
subscribe(callback)[source]
update_state(is_unlocked: bool | None = None, wallets: List[dict] | None = None)[source]
wallets: List[dict]

pypergraph.keyring.storage.state_storage_db module

pypergraph.keyring.storage.system_keyring_storage module

class pypergraph.keyring.storage.system_keyring_storage.KeyringStorage[source]

Bases: object

Storage client using the system keyring (async via executor).

async static get_item(key: str)[source]
async static remove_item(key: str)[source]
async static set_item(key: str, value: str)[source]

Module contents