def get_queryset(self):
        queryset = super(TemplateLicenseViewSet, self).get_queryset()
        if 'customer' in self.request.query_params:
            customer_uuid = self.request.query_params['customer']
            queryset = queryset.filter(templates__images__cloud__customer__uuid=customer_uuid)
        return queryset
dataset/ETHPy150Open opennode/nodeconductor/nodeconductor/iaas/views.py/TemplateLicenseViewSet.get_queryset/original