def create_resource():
    return wsgi.Resource(Controller())
Exemple #2
0
def create_resource():
    serializer = PackageSerializer()
    return wsgi.Resource(Controller(), serializer=serializer)