def all_issues(issues):
 logging.info('finding issues...')
 seen = set()
 for issue in issues:
  if (issue['title'] not in seen):
   seen.add(issue['title'])
   (yield issue)

def all_issues ( issues ) : logging . info ( 'finding issues...' ) seen = set ( ) for issue in issues : if ( issue [ 'title' ] not in seen ) : seen . add ( issue [ 'title' ] ) ( yield issue )
yields unique set of issues given a list of issues .