Skip to content

Commit

Permalink
docs: fix get Experiment data frame sample
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 492516226
  • Loading branch information
sasha-gitg authored and Copybara-Service committed Dec 2, 2022
1 parent 4d3107d commit 24e1465
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@

# [START aiplatform_sdk_get_experiments_data_frame_sample]
def get_experiments_data_frame_sample(
experiment_name: str,
experiment: str,
project: str,
location: str,
):
aiplatform.init(experiment_name=experiment_name, project=project, location=location)
aiplatform.init(experiment=experiment, project=project, location=location)

experiments_df = aiplatform.get_experiment_df()

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
@pytest.mark.usefixtures("mock_sdk_init")
def test_get_experiments_data_frame_sample(mock_get_experiment_df, mock_df):
df = get_experiment_data_frame_sample.get_experiments_data_frame_sample(
experiment_name=constants.EXPERIMENT_NAME,
experiment=constants.EXPERIMENT_NAME,
project=constants.PROJECT,
location=constants.LOCATION,
)
Expand Down

0 comments on commit 24e1465

Please sign in to comment.