aries_cloudagent.wallet.models package

Submodules

aries_cloudagent.wallet.models.wallet_record module

Wallet record.

class aries_cloudagent.wallet.models.wallet_record.WalletRecord(*, wallet_id: Optional[str] = None, key_management_mode: Optional[str] = None, settings: Optional[dict] = None, wallet_name: Optional[str] = None, jwt_iat: Optional[int] = None, **kwargs)[source]

Bases: BaseRecord

Represents a wallet record.

MODE_MANAGED = 'managed'
MODE_UNMANAGED = 'unmanaged'
class Meta[source]

Bases: object

WalletRecord metadata.

schema_class = 'WalletRecordSchema'
RECORD_ID_NAME = 'wallet_id'
RECORD_TYPE = 'wallet_record'
TAG_NAMES = {'wallet_name'}
property is_managed: bool

Accessor to check if the key management mode is managed.

property record_value: dict

Accessor for the JSON record value generated for this record.

property requires_external_key: bool

Accessor to check if the wallet requires an external key.

property settings: dict

Accessor for the context settings associated with this wallet.

update_settings(settings: dict)[source]

Update settings.

property wallet_dispatch_type: str

Accessor for webhook dispatch type of the wallet.

property wallet_id: str

Accessor for the ID associated with this record.

property wallet_key: Optional[str]

Accessor for the key of the wallet.

property wallet_key_derivation_method: Optional[str]

Accessor for the key derivation method of the wallet.

property wallet_name: Optional[str]

Accessor for the name of the wallet.

property wallet_type: str

Accessor for the type of the wallet.

property wallet_webhook_urls: Sequence[str]

Accessor for webhook_urls of the wallet.

class aries_cloudagent.wallet.models.wallet_record.WalletRecordSchema(*args: Any, **kwargs: Any)[source]

Bases: BaseRecordSchema

Schema to allow serialization/deserialization of record.

class Meta[source]

Bases: object

WalletRecordSchema metadata.

model_class

alias of WalletRecord