Skip to content

Commit

Permalink
update docstrings (#2632)
Browse files Browse the repository at this point in the history
  • Loading branch information
avishniakov committed Apr 23, 2024
1 parent a382218 commit 429f067
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/zenml/model/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -683,7 +683,7 @@ def _get_or_create_model_version(
"model version in given stage exists. It might be missing, if "
"the pipeline promoting model version to this stage failed,"
" as an example. You can explore model versions using "
f"`zenml model version list {self.name}` CLI command."
f"`zenml model version list -n {self.name}` CLI command."
)
if str(self.version).isnumeric():
raise RuntimeError(
Expand All @@ -693,7 +693,7 @@ def _get_or_create_model_version(
"model version with given number exists. It might be missing, if "
"the pipeline creating model version failed,"
" as an example. You can explore model versions using "
f"`zenml model version list {self.name}` CLI command."
f"`zenml model version list -n {self.name}` CLI command."
)
retries_made = 0
for i in range(MAX_RETRIES_FOR_VERSIONED_ENTITY_CREATION):
Expand Down

0 comments on commit 429f067

Please sign in to comment.