Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: ExperimentRun docstring and end_run kwarg #1649

Merged
merged 1 commit into from
Sep 7, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions google/cloud/aiplatform/metadata/experiment_run_resource.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,8 @@ def __init__(
```

Args:
run (str): Required. The name of this run.
run_name (str):
Required. The name of this run.
experiment (Union[experiment_resources.Experiment, str]):
Required. The name or instance of this experiment.
project (str):
Expand Down Expand Up @@ -1059,7 +1060,7 @@ def __exit__(self, exc_type, exc_value, traceback):
if metadata._experiment_tracker.experiment_run is self:
metadata._experiment_tracker.end_run(state=state)
else:
self.end_run(state)
self.end_run(state=state)

def end_run(
self,
Expand Down