From a1af9a6aceb63998b4dbd6827c95cbc8005f02ad Mon Sep 17 00:00:00 2001 From: Eric Schmidt Date: Mon, 15 Jun 2020 11:52:08 -0700 Subject: [PATCH] fix: changes a positional to named arg [(#4092)](https://github.com/GoogleCloudPlatform/python-docs-samples/issues/4092) [Another PR](https://github.com/GoogleCloudPlatform/python-docs-samples/pull/4041) is blocked due to the use of positional arguments in the Video Intelligence samples. This PR changes one sample to use named arguments. This fix updates the following region tags: + `video_speech_transcription_gcs_beta` --- .../samples/analyze/beta_snippets.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/google-cloud-videointelligence/samples/analyze/beta_snippets.py b/packages/google-cloud-videointelligence/samples/analyze/beta_snippets.py index 05f3741e1c56..33d221ce4b90 100644 --- a/packages/google-cloud-videointelligence/samples/analyze/beta_snippets.py +++ b/packages/google-cloud-videointelligence/samples/analyze/beta_snippets.py @@ -62,7 +62,7 @@ def speech_transcription(input_uri): ) operation = video_client.annotate_video( - input_uri, features=features, video_context=video_context + input_uri=input_uri, features=features, video_context=video_context ) print("\nProcessing video for speech transcription.")