def get_cards(self, list_id):
params = {'<STR_LIT>': '<STR_LIT>'}<EOL>member = self.config.get('<STR_LIT>', None)<EOL>unassigned = self.config.get('<STR_LIT>', False, asbool)<EOL>if member is not None:<EOL><INDENT>params['<STR_LIT>'] = '<STR_LIT:true>'<EOL>params['<STR_LIT>'] = '<STR_LIT:username>'<EOL><DEDENT>cards = self.api_request(<EOL>"<STR_LIT>".format(list_id=list_id),<EOL>**params)<EOL>for card in cards:<EOL><INDENT>if (member is None<EOL>or member in [m['<STR_LIT:username>'] for m in card['<STR_LIT>']]<EOL>or (unassigned and not card['<STR_LIT>'])):<EOL><INDENT>yield card<EOL><DEDENT><DEDENT>
Returns an iterator for the cards in a given list, filtered
        according to configuration values of trello.only_if_assigned and
        trello.also_unassigned