Skip to content

2.4.1: Add type annotation for PebbleReadyEvent.workload

Compare
Choose a tag to compare
@benhoyt benhoyt released this 04 Jul 04:58
· 259 commits to main since this release
eb57958

This is a patch release: a minor but important type annotation forgotten in 2.4.0. Without it, charms that use type annotation on the pebble-ready events will fail type checking, because attributes of the workload won't be available as Pyright/MyPy doesn't know the type.

Fix in #962.