]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
pybind/rados: use PEP484 style type annotations
authorKefu Chai <kchai@redhat.com>
Tue, 1 Sep 2020 08:16:31 +0000 (16:16 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 11 Sep 2020 16:30:54 +0000 (00:30 +0800)
commitbbf9f5bbe32b37bb1b79bbca4b9cc726dbb2cf34
treed27531d179b04f4dd668465a4ddff47856bb4bac
parentb59dde535a0a57fa923f289303606356c5225cca
pybind/rados: use PEP484 style type annotations

* use PEP484 style typo annotations
* drop homebrew `requires()` decorator
* drop tests for `requires()` decorator
* add test for type annotations

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/pybind/rados/rados.pyx
src/test/pybind/test_rados.py