From 0221d37d37cf561902325e7fe29c665a4441b491 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) [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` --- video/cloud-client/analyze/beta_snippets.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/video/cloud-client/analyze/beta_snippets.py b/video/cloud-client/analyze/beta_snippets.py index 05f3741e1c56..33d221ce4b90 100644 --- a/video/cloud-client/analyze/beta_snippets.py +++ b/video/cloud-client/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.")