def get_all_types_by_group(context, group_id):
 vol_types = db.volume_type_get_all_by_group(context, group_id)
 return vol_types

def get_all_types_by_group ( context , group_id ) : vol_types = db . volume_type_get_all_by_group ( context , group_id ) return vol_types
get all volume_types in a group .