def create_resource():
 task_schema = get_task_schema()
 partial_task_schema = _get_partial_task_schema()
 deserializer = RequestDeserializer(task_schema)
 serializer = ResponseSerializer(task_schema, partial_task_schema)
 controller = TasksController()
 return wsgi.Resource(controller, deserializer, serializer)

def create_resource ( ) : task_schema = get_task_schema ( ) partial_task_schema = _get_partial_task_schema ( ) deserializer = RequestDeserializer ( task_schema ) serializer = ResponseSerializer ( task_schema , partial_task_schema ) controller = TasksController ( ) return wsgi . Resource ( controller , deserializer , serializer )
create the wsgi resource for this controller .