@require_context
def group_get_all_by_project(context, project_id, filters=None, marker=None, limit=None, offset=None, sort_keys=None, sort_dirs=None):
 authorize_project_context(context, project_id)
 if (not filters):
  filters = {}
 else:
  filters = filters.copy()
 filters['project_id'] = project_id
 return _group_get_all(context, filters, marker, limit, offset, sort_keys, sort_dirs)

@ require_context def group_get_all_by_project ( context , project_id , filters = None , marker = None , limit = None , offset = None , sort_keys = None , sort_dirs = None ) : authorize_project_context ( context , project_id ) if ( not filters ) : filters = { } else : filters = filters . copy ( ) filters [ 'project_id' ] = project_id return _group_get_all ( context , filters , marker , limit , offset , sort_keys , sort_dirs )
retrieves all groups in a project .