@app.route("/VolumeDriver.Get", methods=["POST"])
    @_endpoint(u"Get")
    def volumedriver_get(self, Name):
        d = DeferredContext(self._dataset_id_for_name(Name))
        d.addCallback(self._get_path_from_dataset_id)

        def got_path(path):
            if path is None:
                path = u""
            else:
                path = path.path
            return {u"Err": u"",
                    u"Volume": {
                        u"Name": Name,
                        u"Mountpoint": path}}
        d.addCallback(got_path)
        return d.result
Initialize from a data model and data sample.
dataset/ETHPy150Open ClusterHQ/flocker/flocker/dockerplugin/_api.py/VolumePlugin.volumedriver_get--crossover with--dataset/ETHPy150Open datamade/dedupe/dedupe/api.py/ActiveMatching.__init__