

def get_router_choices(self, request, kwargs):
    tenant_id = self.request.user.tenant_id
    all_routers = api.neutron.router_list(request, tenant_id=tenant_id)
    current_routers = [r for r in self if (r['id'] in kwargs['initial']['router_ids'])]
    return [(r.id, r.name_or_id) for r in current_routers]

dataset/ETHPy150Open openstack/horizon/openstack_dashboard/dashboards/project/firewalls/forms.py RemoveRouterFromFirewall.get_router_choices/VarMisuse@46/66 `all_routers`->`self`