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)
Exemple #2
0
    def lock(self, target):
        """Send a ``<lock>`` request

        :param str target: The datastore to be locked
        """
        self._send_rpc(lock(target))