Skip to content

Commit d7c8352

Browse files
committed
updated doc strings
1 parent ce6993a commit d7c8352

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pytorch_lightning/loggers/wandb.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ def name(self) -> Optional[str]:
233233
Gets the name of the experiment.
234234
235235
Returns:
236-
The name of the experiment if the experiment exists else the name.
236+
The name of the experiment if the experiment exists else the name given to the constructor.
237237
"""
238238
# don't create an experiment if we don't have one
239239
return self._experiment.project_name() if self._experiment else self._name
@@ -244,7 +244,7 @@ def version(self) -> Optional[str]:
244244
Gets the id of the experiment.
245245
246246
Returns:
247-
The id of the experiment if the experiment exists else the id.
247+
The id of the experiment if the experiment exists else the id given to the constructor.
248248
"""
249249
# don't create an experiment if we don't have one
250250
return self._experiment.id if self._experiment else self._id

0 commit comments

Comments
 (0)