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: str = None, key_management_mode: str = None, settings: dict = None, wallet_name: str = None, **kwargs)[source]

Bases: aries_cloudagent.messaging.models.base_record.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'}
is_managed

Accessor to check if the key management mode is managed.

record_value

Accessor for the JSON record value generated for this record.

requires_external_key

Accessor to check if the wallet requires an external key.

settings

Accessor for the context settings associated with this wallet.

update_settings(settings: dict)[source]

Update settings.

wallet_dispatch_type

Accessor for webhook dispatch type of the wallet.

wallet_id

Accessor for the ID associated with this record.

wallet_key

Accessor for the key of the wallet.

wallet_name

Accessor for the name of the wallet.

wallet_type

Accessor for the type of the wallet.

wallet_webhook_urls

Accessor for webhook_urls of the wallet.

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

Bases: aries_cloudagent.messaging.models.base_record.BaseRecordSchema

Schema to allow serialization/deserialization of record.

class Meta[source]

Bases: object

WalletRecordSchema metadata.

model_class

alias of WalletRecord

unknown

Used by autodoc_mock_imports.

key_management_mode

Used by autodoc_mock_imports.

settings

Used by autodoc_mock_imports.

wallet_id

Used by autodoc_mock_imports.