Skip to content

Commit ca2d476

Browse files
busunkim96dandhlee
authored andcommitted
test: fix sample test
1 parent bcb6331 commit ca2d476

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

translation/samples/snippets/translate_v3_batch_translate_text_with_glossary_and_model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def sample_batch_translate_text_with_glossary_and_model(
6161
input_configs = [input_configs_element]
6262
gcs_destination = {"output_uri_prefix": output_uri}
6363
output_config = {"gcs_destination": gcs_destination}
64-
parent = client.location_path(project_id, location)
64+
parent = f"projects/{project_id}/locations/location"
6565
model_path = 'projects/{}/locations/{}/models/{}'.format(project_id, 'us-central1', model_id)
6666
models = {target_language: model_path}
6767

0 commit comments

Comments
 (0)