From 2433c1cbbd52e8f46ee181a2c8067309bcd98e17 Mon Sep 17 00:00:00 2001 From: Tony Meyer Date: Thu, 19 Sep 2024 23:45:14 +1200 Subject: [PATCH] Minor doc fixes. --- scenario/context.py | 2 +- scenario/state.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scenario/context.py b/scenario/context.py index cb5331d5..8c7d271c 100644 --- a/scenario/context.py +++ b/scenario/context.py @@ -167,7 +167,7 @@ def config_changed(): return _Event("config_changed") @staticmethod - @_copy_doc(ops.UpdateStatusEvent) + @_copy_doc(ops.UpgradeCharmEvent) def upgrade_charm(): return _Event("upgrade_charm") diff --git a/scenario/state.py b/scenario/state.py index 9179735d..09d1895a 100644 --- a/scenario/state.py +++ b/scenario/state.py @@ -824,7 +824,7 @@ class Notice(_max_posargs(1)): last_repeated: datetime.datetime = dataclasses.field(default_factory=_now_utc) """The time this notice was last repeated. - See Pebble's `Notices documentation `_ + See Pebble's `Notices documentation `_ for an explanation of what "repeated" means. """