def filter(self, table, flavors, filter_string):
        q = filter_string.lower()

        def comp(flavor):
            return q in flavor.name.lower()

        return filter(comp, flavors)
Returns a list of replicas for a specified partition.
dataset/ETHPy150Open Havate/havate-openstack/proto-build/gui/horizon/Horizon_GUI/openstack_dashboard/dashboards/admin/flavors/tables.py/FlavorFilterAction.filter--crossover with--dataset/ETHPy150Open openstack/swift/swift/common/ring/builder.py/RingBuilder._replicas_for_part