Skip to content

Commit

Permalink
Move ops.main type checking to features
Browse files Browse the repository at this point in the history
  • Loading branch information
james-garner-canonical committed Sep 26, 2024
1 parent 94ab395 commit b7b4597
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
## Features

* Optionally install Scenario with `ops[testing]` and expose the names in ops.testing (#1381)
* Add a JujuVersion property for Pebble log forwarding to Loki (#1370)
* Change ops.main() so that you don't need to `type: ignore` it (#1345)
* Expand the secret ID out to the full URI when only given the ID (#1358)
* Add a JujuVersion property for Pebble log forwarding to Loki (#1370)
* Pre-emptively raise `InvalidStatusError` instead of waiting for Juju:
* Make it an error to call `CollectStatusEvent.add_status` with error or unknown (#1386)
* Document and validate settable status values in `_ModelBackend.set_status` (#1354)

## Fixes

* Change ops.main() so that you don't need to `type: ignore` it (#1345)
* Fix type of `StatusBase` subclasses by calling `StatusBase.register` in `__init_subclass__` (#1383)
* `Secret.set_info` and `Secret.set_content` can be called in the same hook (#1373)

Expand Down

0 comments on commit b7b4597

Please sign in to comment.