Revision dd8b8dd7 ncclient/operations/rpc.py
b/ncclient/operations/rpc.py | ||
---|---|---|
260 | 260 |
object. The :attr:`event` attribute will be set when the reply has been |
261 | 261 |
received (see :attr:`reply`) or an error occured (see :attr:`error`). |
262 | 262 |
|
263 |
:arg opspec: :ref:`dtree` for the operation |
|
264 | 263 |
:type opspec: :obj:`dict` or :obj:`string` or :class:`~xml.etree.ElementTree.Element` |
265 | 264 |
:rtype: :class:`RPCReply` (sync) or :class:`RPC` (async) |
266 | 265 |
""" |
... | ... | |
291 | 290 |
raise TimeoutExpiredError |
292 | 291 |
|
293 | 292 |
def request(self, *args, **kwds): |
294 |
"""Subclasses implement this method. Here, the operation is constructed |
|
295 |
in :ref:`dtree`, and the result of :meth:`_request` returned.""" |
|
293 |
"Subclasses implement this method." |
|
296 | 294 |
return self._request(self.SPEC) |
297 | 295 |
|
298 | 296 |
def _assert(self, capability): |
Also available in: Unified diff