Skip to content

Commit

Permalink
chore: update Model.info docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
dimaqq committed Nov 22, 2024
1 parent 3a56b5d commit e2740a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion juju/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit e2740a1

Please sign in to comment.