]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
python-common: fix mypy errors in earmarking.py 63287/head
authorJohn Mulligan <jmulligan@redhat.com>
Fri, 1 Nov 2024 15:25:35 +0000 (11:25 -0400)
committerAfreen Misbah <afreen@ibm.com>
Thu, 12 Jun 2025 15:55:48 +0000 (21:25 +0530)
commit7d67ae6e1b53cdb01e0356f87e49a4646571ffa2
treebaadb2980e3a21ed10aa81553fe4a740955fc6c9
parentf2dd32b5674c5f8ee8eb0eb3f63afac171051a67
python-common: fix mypy errors in earmarking.py

Fix various errors found by running mypy with python 3.12 on the
python-common subtree. Uses a Protocol as a stand-in for actual file
system integration objects.

Part of an effort to get ceph tox environments passing on Python 3.12.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
(cherry picked from commit b77829c45e213d3e984789b903d50d9267be5c74)
src/python-common/ceph/fs/earmarking.py