def conference_submissions(**kwargs):
 submissions = []
 for conf in Conference.find():
  if (hasattr(conf, 'is_meeting') and (conf.is_meeting is False)):
   continue
  projects = set()
  tags = Tag.find(Q('name', 'iexact', conf.endpoint.lower())).values_list('pk', flat=True)
  nodes = Node.find(((Q('tags', 'in', tags) & Q('is_public', 'eq', True)) & Q('is_deleted', 'ne', True)))
  projects.update(list(nodes))
  for (idx, node) in enumerate(projects):
   submissions.append(_render_conference_node(node, idx, conf))
  num_submissions = len(projects)
  conf.num_submissions = num_submissions
  conf.save()
  if (num_submissions < settings.CONFERENCE_MIN_COUNT):
   continue
 submissions.sort(key=(lambda submission: submission['dateCreated']), reverse=True)
 return {'submissions': submissions}

def conference_submissions ( ** kwargs ) : submissions = [ ] for conf in Conference . find ( ) : if ( hasattr ( conf , 'is_meeting' ) and ( conf . is_meeting is False ) ) : continue projects = set ( ) tags = Tag . find ( Q ( 'name' , 'iexact' , conf . endpoint . lower ( ) ) ) . values_list ( 'pk' , flat = True ) nodes = Node . find ( ( ( Q ( 'tags' , 'in' , tags ) & Q ( 'is_public' , 'eq' , True ) ) & Q ( 'is_deleted' , 'ne' , True ) ) ) projects . update ( list ( nodes ) ) for ( idx , node ) in enumerate ( projects ) : submissions . append ( _render_conference_node ( node , idx , conf ) ) num_submissions = len ( projects ) conf . num_submissions = num_submissions conf . save ( ) if ( num_submissions < settings . CONFERENCE_MIN_COUNT ) : continue submissions . sort ( key = ( lambda submission : submission [ 'dateCreated' ] ) , reverse = True ) return { 'submissions' : submissions }
return data for all osf4m submissions .