

def populate_flavor_choices(self, request, context):
    flavors = nova_utils.flavor_list(request)
    if flavors:
        return nova_utils.sort_flavor_list(request, flavors)
    return []

dataset/ETHPy150Open CiscoSystems/avos/openstack_dashboard/dashboards/project/data_processing/nodegroup_templates/workflows/create.py GeneralConfigAction.populate_flavor_choices/original