Skip to content

Commit e2740a1

Browse files
committed
chore: update Model.info docstring
1 parent 3a56b5d commit e2740a1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

juju/model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1227,7 +1227,7 @@ def name(self):
12271227
def info(self) -> ModelInfo:
12281228
"""Return the cached client.ModelInfo object for this Model.
12291229
1230-
If Model.get_info() has not been called, this will return None.
1230+
If Model.get_info() has not been called, this will raise an error.
12311231
"""
12321232
if not self.is_connected():
12331233
raise JujuModelError("Model is not connected")

0 commit comments

Comments
 (0)