Did I find the right examples for you? yes no

All Samples(4)  |  Call(3)  |  Derive(1)  |  Import(0)

src/n/o/nova-gce-HEAD/nova/api/gce/wsgi.py   nova-gce(Download)
class JSONDictSerializer(openstack_wsgi.DictSerializer):
 
    def serialize(self, data, request):
        params = {'false': False, 'true': True}
        pretty_print = request.params.get("prettyPrint", False)

src/n/o/nova-HEAD/nova/tests/api/openstack/test_wsgi.py   nova(Download)
    def test_dispatch_default(self):
        serializer = wsgi.DictSerializer()
        self.assertEqual(serializer.serialize({}, 'update'), '')
 
 

src/n/o/nova-gce-HEAD/nova/tests/api/openstack/test_wsgi.py   nova-gce(Download)
    def test_dispatch_default(self):
        serializer = wsgi.DictSerializer()
        self.assertEqual(serializer.serialize({}, 'update'), '')
 
 

src/d/o/dodai-compute-HEAD/nova/tests/api/openstack/test_wsgi.py   dodai-compute(Download)
    def test_dispatch_default(self):
        serializer = wsgi.DictSerializer()
        self.assertEqual(serializer.serialize({}, 'update'), '')