def lock(self, target): """Send a ``<lock>`` request :param str target: The datastore to be locked """ f = self.session.send_rpc(lock(target)) f.result(timeout=self.timeout)
def lock(self, target): """Send a ``<lock>`` request :param str target: The datastore to be locked """ self._send_rpc(lock(target))