File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@
1818

1919
# [START aiplatform_sdk_create_and_import_dataset_tabular_bigquery_sample]
2020
def create_and_import_dataset_tabular_bigquery_sample(
21-
display_name: str, project: str, location: str, bigquery_source: str,
21+
display_name: str, project: str, location: str, bq_source: str,
2222
):
2323

2424
aiplatform.init(project=project, location=location)
2525

2626
dataset = aiplatform.TabularDataset.create(
27-
display_name=display_name, bigquery_source=bigquery_source,
27+
display_name=display_name, bq_source=bq_source,
2828
)
2929

3030
dataset.wait()
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@ def test_create_and_import_dataset_tabular_bigquery_sample(
2424
create_and_import_dataset_tabular_bigquery_sample.create_and_import_dataset_tabular_bigquery_sample(
2525
project=constants.PROJECT,
2626
location=constants.LOCATION,
27-
bigquery_source=constants.BIGQUERY_SOURCE,
27+
bq_source=constants.BIGQUERY_SOURCE,
2828
display_name=constants.DISPLAY_NAME,
2929
)
3030

3131
mock_sdk_init.assert_called_once_with(
3232
project=constants.PROJECT, location=constants.LOCATION
3333
)
3434
mock_create_tabular_dataset.assert_called_once_with(
35-
display_name=constants.DISPLAY_NAME, bigquery_source=constants.BIGQUERY_SOURCE,
35+
display_name=constants.DISPLAY_NAME, bq_source=constants.BIGQUERY_SOURCE,
3636
)

0 commit comments

Comments
 (0)