@require_context
def volume_get_all_by_generic_group(context, group_id, filters=None):
 query = _volume_get_query(context).filter_by(group_id=group_id)
 if filters:
  query = _process_volume_filters(query, filters)
  if (query is None):
   return []
 return query.all()

@ require_context def volume_get_all_by_generic_group ( context , group_id , filters = None ) : query = _volume_get_query ( context ) . filter_by ( group_id = group_id ) if filters : query = _process_volume_filters ( query , filters ) if ( query is None ) : return [ ] return query . all ( )
retrieves all volumes associated with the group_id .