From e2740a10f1bad0dd96b99ed354f6a2beb8d0eb1d Mon Sep 17 00:00:00 2001 From: Dima Tisnek Date: Fri, 22 Nov 2024 17:12:06 +0900 Subject: [PATCH] chore: update Model.info docstring --- juju/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/juju/model.py b/juju/model.py index c1773d6f..8dd7d747 100644 --- a/juju/model.py +++ b/juju/model.py @@ -1227,7 +1227,7 @@ def name(self): def info(self) -> ModelInfo: """Return the cached client.ModelInfo object for this Model. - If Model.get_info() has not been called, this will return None. + If Model.get_info() has not been called, this will raise an error. """ if not self.is_connected(): raise JujuModelError("Model is not connected")