]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph-volume: add type annotations to util.device
authorGuillaume Abrioux <gabrioux@ibm.com>
Tue, 7 Jan 2025 14:52:44 +0000 (14:52 +0000)
committerGuillaume Abrioux <gabrioux@ibm.com>
Mon, 24 Feb 2025 11:53:20 +0000 (11:53 +0000)
commitfa5ff5879e75fc425136254c4f0a3f372217e630
treed9403cd718e6f11101d9f9389ccf98f9b93740f3
parent09d9c15140d65a84b0f79901fb1b50df51d37c18
ceph-volume: add type annotations to util.device

This adds Python type annotations to `ceph_volume.util.device`,
along with all necessary adjustments to ensure compatibility
and maintain code clarity.

Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
(cherry picked from commit 75bccfc6270f5db2f120ccc55145ad86d7515a89)
src/ceph-volume/ceph_volume/api/lvm.py
src/ceph-volume/ceph_volume/util/device.py