Files
oslo.cache/oslo_cache/_bmemcache_pool.py
Stephen Finucane 34fad6c4bf Add typing
The only functional change is that we switch a namedtuple to a dataclass
since nametuples can't use generics until Python 3.11 [1][2].

[1] https://typing.python.org/en/latest/spec/namedtuples.html
[2] https://github.com/microsoft/pyright/issues/2203

Change-Id: I15c75501edc8b2c3bc545b13e34b90b8a47df553
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2025-10-09 11:20:26 +00:00

2.7 KiB