]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
Merge pull request #39740 from tchaikov/wip-pybind-rtype
authorKefu Chai <kchai@redhat.com>
Sun, 7 Mar 2021 15:48:06 +0000 (23:48 +0800)
committerGitHub <noreply@github.com>
Sun, 7 Mar 2021 15:48:06 +0000 (23:48 +0800)
pybind/{rados,cephfs}: use type annotation for rtype docstring

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
1  2 
src/pybind/cephfs/cephfs.pyx
src/pybind/rados/rados.pyx

index 3b7097ee699987cad6dd6393e188480c70243485,13c8957fc278bd2be4e74e51d7e062e29b9760bf..c93313cfa56b2908d02aefe82e220f8828d4aa2d
@@@ -18,8 -19,10 +18,9 @@@ ELSE
  
  from collections import namedtuple
  from datetime import datetime
 -import errno
  import os
  import time
+ from typing import Any, Dict, Optional
  
  AT_NO_ATTR_SYNC = 0x4000
  AT_SYMLINK_NOFOLLOW = 0x100
Simple merge