diff --git a/pyproject.toml b/pyproject.toml index 67dca9a..462fd4d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,7 +8,7 @@ build-backend = "setuptools.build_meta" [project] name = "ops-scenario" -version = "7.0.4" +version = "7.0.5" authors = [ { name = "Pietro Pasotti", email = "pietro.pasotti@canonical.com" } diff --git a/scenario/state.py b/scenario/state.py index 3520f34..b8546d1 100644 --- a/scenario/state.py +++ b/scenario/state.py @@ -52,7 +52,7 @@ if TYPE_CHECKING: # pragma: no cover from scenario import Context -AnyJson = Union[str, bool, dict, int, float, list] +AnyJson = Union[str, bool, Dict[str, "AnyJson"], int, float, List["AnyJson"]] RawSecretRevisionContents = RawDataBagContents = Dict[str, str] UnitID = int