From: Kefu Chai Date: Fri, 1 Jan 2021 12:14:37 +0000 (+0800) Subject: pybind/rados: correct annotation of {mon,pg,osd}_command X-Git-Tag: v16.1.0~133^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=f99bd293639751fc84f4a4753fb3726457cde05e;p=ceph.git pybind/rados: correct annotation of {mon,pg,osd}_command Signed-off-by: Kefu Chai --- diff --git a/src/pybind/rados/rados.pyx b/src/pybind/rados/rados.pyx index bdab1339dbcd..829399c378ea 100644 --- a/src/pybind/rados/rados.pyx +++ b/src/pybind/rados/rados.pyx @@ -1004,7 +1004,7 @@ Rados object in state %s." % self.state) cmd: str, inbuf: bytes, timeout: int = 0, - target: Optional[Union[str, int]] = None) -> Tuple[int, str, bytes]: + target: Optional[Union[str, int]] = None) -> Tuple[int, bytes, str]: """ Send a command to the mon. @@ -1078,7 +1078,7 @@ Rados object in state %s." % self.state) osdid: int, cmd: str, inbuf: bytes, - timeout: int = 0) -> Tuple[int, str, bytes]: + timeout: int = 0) -> Tuple[int, bytes, str]: """ osd_command(osdid, cmd, inbuf, outbuf, outbuflen, outs, outslen) @@ -1181,7 +1181,7 @@ Rados object in state %s." % self.state) pgid: str, cmd: str, inbuf: bytes, - timeout: int = 0) -> Tuple[int, str, bytes]: + timeout: int = 0) -> Tuple[int, bytes, str]: """ pg_command(pgid, cmd, inbuf, outbuf, outbuflen, outs, outslen)