Did I find the right examples for you? yes no

All Samples(118)  |  Call(109)  |  Derive(9)  |  Import(0)

src/d/o/dodai-compute-HEAD/nova/api/openstack/versions.py   dodai-compute(Download)
class Versions(wsgi.Resource):
    def __init__(self):
        metadata = {
            "attributes": {
                "version": ["status", "id"],
        supported_content_types=supported_content_types)
 
    return wsgi.Resource(controller, serializer=serializer,
                         deserializer=deserializer)
 

src/d/o/dodai-compute-HEAD/nova/api/openstack/images.py   dodai-compute(Download)
    serializer = wsgi.ResponseSerializer(body_serializers)
 
    return wsgi.Resource(controller, serializer=serializer)
 

src/d/o/dodai-compute-HEAD/nova/api/openstack/flavors.py   dodai-compute(Download)
    serializer = wsgi.ResponseSerializer(body_serializers)
 
    return wsgi.Resource(controller, serializer=serializer)
 

src/d/o/dodai-compute-HEAD/nova/api/openstack/ips.py   dodai-compute(Download)
    serializer = wsgi.ResponseSerializer({'application/xml': xml_serializer})
 
    return wsgi.Resource(controller, serializer=serializer)
 

src/d/o/dodai-compute-HEAD/nova/api/openstack/backup_schedules.py   dodai-compute(Download)
 
    serializer = wsgi.ResponseSerializer(body_serializers)
    return wsgi.Resource(Controller(), serializer=serializer)
 

src/d/o/dodai-compute-HEAD/nova/api/openstack/limits.py   dodai-compute(Download)
    serializer = wsgi.ResponseSerializer(body_serializers)
 
    return wsgi.Resource(controller, serializer=serializer)
 
 

src/d/o/dodai-compute-HEAD/nova/api/openstack/users.py   dodai-compute(Download)
    serializer = wsgi.ResponseSerializer(body_serializers)
 
    return wsgi.Resource(Controller(), serializer=serializer)
 

src/d/o/dodai-compute-HEAD/nova/api/openstack/accounts.py   dodai-compute(Download)
    }
    serializer = wsgi.ResponseSerializer(body_serializers)
    return wsgi.Resource(Controller(), serializer=serializer)
 

src/d/o/dodai-compute-HEAD/nova/api/openstack/servers.py   dodai-compute(Download)
    deserializer = wsgi.RequestDeserializer(body_deserializers)
 
    return wsgi.Resource(controller, deserializer, serializer)
 
 

src/n/o/nova-HEAD/nova/api/openstack/__init__.py   nova(Download)
                if not resource.controller:
                    resource.controller = inherits.controller
            wsgi_resource = wsgi.Resource(resource.controller,
                                          inherits=inherits)
            self.resources[resource.collection] = wsgi_resource
                if not resource.controller:
                    resource.controller = inherits.controller
            wsgi_resource = wsgi.Resource(resource.controller,
                                          inherits=inherits)
            self.resources[resource.collection] = wsgi_resource

  1 | 2 | 3 | 4 | 5  Next