von_anchor/wallet/pairwise.py
def pairwise_info2tags(pairwise: PairwiseInfo) -> dict:
    """
    Given pairwise info with metadata mapping tags to values, return corresponding
    indy-sdk non_secrets record tags dict to store same in wallet (via non_secrets)
    unencrypted (for WQL search options).  Canonicalize metadata values to strings via
    raw() for WQL fitness.

    :param pairwise: pairwise info with metadata dict mapping tags to values
    :return: corresponding non_secrets tags dict marked for unencrypted storage
    """

    rv = {
        canon_pairwise_tag(tag): raw(pairwise.metadata[tag]) for tag in pairwise.metadata or {}
    }
    rv['~their_did'] = pairwise.their_did
    rv['~their_verkey'] = pairwise.their_verkey
    rv['~my_did'] = pairwise.my_did
    rv['~my_verkey'] = pairwise.my_verkey
    return rv

    Given pairwise info with metadata mapping tags to values, return corresponding
    indy-sdk non_secrets record tags dict to store same in wallet (via non_secrets)
    unencrypted (for WQL search options).  Canonicalize metadata values to strings via
    raw() for WQL fitness.

    :param pairwise: pairwise info with metadata dict mapping tags to values
    :return: corresponding non_secrets tags dict marked for unencrypted storage
    
Given pairwise info with metadata mapping tags to values, return corresponding
indy-sdk non_secrets record tags dict to store same in wallet (via non_secrets)
unencrypted (for WQL search options).  Canonicalize metadata values to strings via
raw() for WQL fitness.
Given pairwise info with metadata mapping tags to values return corresponding indy - sdk non_secrets record tags dict to store same in wallet ( via non_secrets ) unencrypted ( for WQL search options ) . Canonicalize metadata values to strings via raw () for WQL fitness .
def pairwise_info2tags(pairwise: PairwiseInfo) -> dict:
    rv = {
        canon_pairwise_tag(tag): raw(pairwise.metadata[tag]) for tag in pairwise.metadata or {}
    }
    rv['~their_did'] = pairwise.their_did
    rv['~their_verkey'] = pairwise.their_verkey
    rv['~my_did'] = pairwise.my_did
    rv['~my_verkey'] = pairwise.my_verkey
    return rv
def pairwise_info2tags ( pairwise : PairwiseInfo ) -> dict : rv = { canon_pairwise_tag ( tag ) : raw ( pairwise . metadata [ tag ] ) for tag in pairwise . metadata or { } } rv [ '~their_did' ] = pairwise . their_did rv [ '~their_verkey' ] = pairwise . their_verkey rv [ '~my_did' ] = pairwise . my_did rv [ '~my_verkey' ] = pairwise . my_verkey return rv
Given pairwise info with metadata mapping tags to values, return corresponding
indy-sdk non_secrets record tags dict to store same in wallet (via non_secrets)
unencrypted (for WQL search options).
Given pairwise info with metadata mapping tags to values return corresponding indy - sdk non_secrets record tags dict to store same in wallet ( via non_secrets ) unencrypted ( for WQL search options ) .
"""
    Given pairwise info with metadata mapping tags to values, return corresponding
    indy-sdk non_secrets record tags dict to store same in wallet (via non_secrets)
    unencrypted (for WQL search options).  Canonicalize metadata values to strings via
    raw() for WQL fitness.

    :param pairwise: pairwise info with metadata dict mapping tags to values
    :return: corresponding non_secrets tags dict marked for unencrypted storage
    """
corresponding non_secrets tags dict marked for unencrypted storage
corresponding non_secrets tags dict marked for unencrypted storage
pairwise
PairwiseInfo
pairwise info with metadata dict mapping tags to values
pairwise info with metadata dict mapping tags to values