von_anchor/wallet/pairwise.py
def non_secret2pairwise_info(non_secret: NonSecret) -> PairwiseInfo:
    """
    Given indy-sdk non_secrets pairwise record dict, return corresponding PairwiseInfo.

    :param non_secret: non-secret to convert to PairwiseInfo
    :return: PairwiseInfo on non_secrets pairwise record DIDs, verkeys, metadata
    """

    return PairwiseInfo(
        non_secret.id,  # = their did
        non_secret.value,  # = their verkey
        non_secret.tags['~my_did'],
        non_secret.tags['~my_verkey'],
        {
            tag[tag.startswith('~'):]: non_secret.tags[tag] for tag in (non_secret.tags or {})  # strip any leading '~'
        })

    Given indy-sdk non_secrets pairwise record dict, return corresponding PairwiseInfo.

    :param non_secret: non-secret to convert to PairwiseInfo
    :return: PairwiseInfo on non_secrets pairwise record DIDs, verkeys, metadata
    
Given indy-sdk non_secrets pairwise record dict, return corresponding PairwiseInfo.
Given indy - sdk non_secrets pairwise record dict return corresponding PairwiseInfo .
def non_secret2pairwise_info(non_secret: NonSecret) -> PairwiseInfo:
    return PairwiseInfo(
        non_secret.id,  
        non_secret.value,  
        non_secret.tags['~my_did'],
        non_secret.tags['~my_verkey'],
        {
            tag[tag.startswith('~'):]: non_secret.tags[tag] for tag in (non_secret.tags or {})  
        })
def non_secret2pairwise_info ( non_secret : NonSecret ) -> PairwiseInfo : return PairwiseInfo ( non_secret . id , non_secret . value , non_secret . tags [ '~my_did' ] , non_secret . tags [ '~my_verkey' ] , { tag [ tag . startswith ( '~' ) : ] : non_secret . tags [ tag ] for tag in ( non_secret . tags or { } ) } )
Given indy-sdk non_secrets pairwise record dict, return corresponding PairwiseInfo.
Given indy - sdk non_secrets pairwise record dict return corresponding PairwiseInfo .
"""
    Given indy-sdk non_secrets pairwise record dict, return corresponding PairwiseInfo.

    :param non_secret: non-secret to convert to PairwiseInfo
    :return: PairwiseInfo on non_secrets pairwise record DIDs, verkeys, metadata
    """ # = their did # = their verkey # strip any leading '~'
PairwiseInfo on non_secrets pairwise record DIDs, verkeys, metadata
PairwiseInfo on non_secrets pairwise record DIDs verkeys metadata
non_secret
NonSecret
non-secret to convert to PairwiseInfo
non - secret to convert to PairwiseInfo