File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2369,7 +2369,7 @@ def update(
23692369
23702370 # Step 1: Update the dataset resource for the prompt and wait for the operation to complete.
23712371 updated_dataset_resource = self ._update_dataset_resource (
2372- name = f"projects/{ self ._api_client .project } /locations/{ self ._api_client .location } " ,
2372+ name = f"projects/{ self ._api_client .project } /locations/{ self ._api_client .location } /datasets/ { prompt_id } " ,
23732373 dataset_id = prompt_id ,
23742374 display_name = (
23752375 config .prompt_display_name
@@ -3709,7 +3709,7 @@ async def update(
37093709
37103710 # Step 1: Update the dataset resource for the prompt and wait for the operation to complete.
37113711 updated_dataset_resource = await self ._update_dataset_resource (
3712- name = f"projects/{ self ._api_client .project } /locations/{ self ._api_client .location } " ,
3712+ name = f"projects/{ self ._api_client .project } /locations/{ self ._api_client .location } /datasets/ { prompt_id } " ,
37133713 dataset_id = prompt_id ,
37143714 display_name = (
37153715 config .prompt_display_name
You can’t perform that action at this time.
0 commit comments