The Charm Tech team has just released version 2.4.0 of
This release has no new features, but includes various improvements to our API reference documentation and the library’s type annotations (for use with Pyright and MyPy). It also includes a couple of minor bug fixes.
It’s available from PyPI by using
pip install ops, which should pick up the latest version (pin with
ops==2.4.0 if you want to pin to a specific version).