From 51a2a72215ac93836ccc37733607b8e97d808e10 Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Tue, 1 Sep 2020 13:02:15 +0800 Subject: [PATCH] pybind/rados: add type annotations to Rados.mon_command() Signed-off-by: Kefu Chai --- src/pybind/rados/rados.pyx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pybind/rados/rados.pyx b/src/pybind/rados/rados.pyx index 38355c23bda..7ef2d8b546a 100644 --- a/src/pybind/rados/rados.pyx +++ b/src/pybind/rados/rados.pyx @@ -1356,6 +1356,7 @@ Rados object in state %s." % self.state) io.io = ioctx return io + @requires(('cmd': str), ('inbuf': bytes), ('timeout', opt(int)), ('target', opt(str))) def mon_command(self, cmd, inbuf, timeout=0, target=None): """ Send a command to the mon. -- 2.39.5