Skip to content

Commit 075a6c2

Browse files
authored
docs: ExperimentRun docstring and end_run kwarg (#1649)
Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly: - [ ] Make sure to open an issue as a [bug/issue](https://github.com/googleapis/python-aiplatform/issues/new/choose) before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea - [ ] Ensure the tests and linter pass - [ ] Code coverage does not decrease (if any source code was changed) - [ ] Appropriate docs were updated (if necessary)
1 parent dfc9578 commit 075a6c2

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

google/cloud/aiplatform/metadata/experiment_run_resource.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,8 @@ def __init__(
104104
```
105105
106106
Args:
107-
run (str): Required. The name of this run.
107+
run_name (str):
108+
Required. The name of this run.
108109
experiment (Union[experiment_resources.Experiment, str]):
109110
Required. The name or instance of this experiment.
110111
project (str):
@@ -1059,7 +1060,7 @@ def __exit__(self, exc_type, exc_value, traceback):
10591060
if metadata._experiment_tracker.experiment_run is self:
10601061
metadata._experiment_tracker.end_run(state=state)
10611062
else:
1062-
self.end_run(state)
1063+
self.end_run(state=state)
10631064

10641065
def end_run(
10651066
self,

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy