src/fedoidcmsg/entity.py
def pick_signed_metadata_statements_regex(self, pattern, context):
        """
        Pick signed metadata statements based on ISS pattern matching
        
        :param pattern: A regular expression to match the iss against
        :return: list of tuples (FO ID, signed metadata statement)
        """
        comp_pat = re.compile(pattern)
        sms_dict = self.signer.metadata_statements[context]
        res = []
        for iss, vals in sms_dict.items():
            if comp_pat.search(iss):
                res.extend((iss, vals))
        return res
def pick_signed_metadata_statements_regex(self, pattern, context):
        """
        Pick signed metadata statements based on ISS pattern matching
        
        :param pattern: A regular expression to match the iss against
        :return: list of tuples (FO ID, signed metadata statement)
        """
        comp_pat = re.compile(pattern)
        sms_dict = self.signer.metadata_statements[context]
        res = []
        for iss, vals in sms_dict.items():
            if comp_pat.search(iss):
                res.extend((iss, vals))
        return res
def pick_signed_metadata_statements_regex ( self , pattern , context ) : comp_pat = re . compile ( pattern ) sms_dict = self . signer . metadata_statements [ context ] res = [ ] for iss , vals in sms_dict . items ( ) : if comp_pat . search ( iss ) : res . extend ( ( iss , vals ) ) return res
Pick signed metadata statements based on ISS pattern matching
        
        :param pattern: A regular expression to match the iss against
        :return: list of tuples (FO ID, signed metadata statement)
Pick signed metadata statements based on ISS pattern matching : param pattern : A regular expression to match the iss against : return : list of tuples ( FO ID signed metadata statement )