diff --git a/google/cloud/videointelligence_v1/services/video_intelligence_service/async_client.py b/google/cloud/videointelligence_v1/services/video_intelligence_service/async_client.py index 8e9f331a..3b2baca1 100644 --- a/google/cloud/videointelligence_v1/services/video_intelligence_service/async_client.py +++ b/google/cloud/videointelligence_v1/services/video_intelligence_service/async_client.py @@ -365,7 +365,7 @@ async def sample_annotate_video(): # Done; return the response. return response - async def __aenter__(self): + async def __aenter__(self) -> "VideoIntelligenceServiceAsyncClient": return self async def __aexit__(self, exc_type, exc, tb): diff --git a/google/cloud/videointelligence_v1beta2/services/video_intelligence_service/async_client.py b/google/cloud/videointelligence_v1beta2/services/video_intelligence_service/async_client.py index ab047992..afbd8b60 100644 --- a/google/cloud/videointelligence_v1beta2/services/video_intelligence_service/async_client.py +++ b/google/cloud/videointelligence_v1beta2/services/video_intelligence_service/async_client.py @@ -365,7 +365,7 @@ async def sample_annotate_video(): # Done; return the response. return response - async def __aenter__(self): + async def __aenter__(self) -> "VideoIntelligenceServiceAsyncClient": return self async def __aexit__(self, exc_type, exc, tb): diff --git a/google/cloud/videointelligence_v1p1beta1/services/video_intelligence_service/async_client.py b/google/cloud/videointelligence_v1p1beta1/services/video_intelligence_service/async_client.py index d9f1bc85..ccc0517b 100644 --- a/google/cloud/videointelligence_v1p1beta1/services/video_intelligence_service/async_client.py +++ b/google/cloud/videointelligence_v1p1beta1/services/video_intelligence_service/async_client.py @@ -365,7 +365,7 @@ async def sample_annotate_video(): # Done; return the response. return response - async def __aenter__(self): + async def __aenter__(self) -> "VideoIntelligenceServiceAsyncClient": return self async def __aexit__(self, exc_type, exc, tb): diff --git a/google/cloud/videointelligence_v1p2beta1/services/video_intelligence_service/async_client.py b/google/cloud/videointelligence_v1p2beta1/services/video_intelligence_service/async_client.py index afc2658b..e250682a 100644 --- a/google/cloud/videointelligence_v1p2beta1/services/video_intelligence_service/async_client.py +++ b/google/cloud/videointelligence_v1p2beta1/services/video_intelligence_service/async_client.py @@ -365,7 +365,7 @@ async def sample_annotate_video(): # Done; return the response. return response - async def __aenter__(self): + async def __aenter__(self) -> "VideoIntelligenceServiceAsyncClient": return self async def __aexit__(self, exc_type, exc, tb): diff --git a/google/cloud/videointelligence_v1p3beta1/services/streaming_video_intelligence_service/async_client.py b/google/cloud/videointelligence_v1p3beta1/services/streaming_video_intelligence_service/async_client.py index cbbcf812..da6edb50 100644 --- a/google/cloud/videointelligence_v1p3beta1/services/streaming_video_intelligence_service/async_client.py +++ b/google/cloud/videointelligence_v1p3beta1/services/streaming_video_intelligence_service/async_client.py @@ -335,7 +335,7 @@ def request_generator(): # Done; return the response. return response - async def __aenter__(self): + async def __aenter__(self) -> "StreamingVideoIntelligenceServiceAsyncClient": return self async def __aexit__(self, exc_type, exc, tb): diff --git a/google/cloud/videointelligence_v1p3beta1/services/video_intelligence_service/async_client.py b/google/cloud/videointelligence_v1p3beta1/services/video_intelligence_service/async_client.py index 80edaf02..829300af 100644 --- a/google/cloud/videointelligence_v1p3beta1/services/video_intelligence_service/async_client.py +++ b/google/cloud/videointelligence_v1p3beta1/services/video_intelligence_service/async_client.py @@ -365,7 +365,7 @@ async def sample_annotate_video(): # Done; return the response. return response - async def __aenter__(self): + async def __aenter__(self) -> "VideoIntelligenceServiceAsyncClient": return self async def __aexit__(self, exc_type, exc, tb): diff --git a/samples/generated_samples/snippet_metadata_google.cloud.videointelligence.v1.json b/samples/generated_samples/snippet_metadata_google.cloud.videointelligence.v1.json index e0ca792d..1f03d3b6 100644 --- a/samples/generated_samples/snippet_metadata_google.cloud.videointelligence.v1.json +++ b/samples/generated_samples/snippet_metadata_google.cloud.videointelligence.v1.json @@ -8,7 +8,7 @@ ], "language": "PYTHON", "name": "google-cloud-videointelligence", - "version": "2.11.2" + "version": "0.1.0" }, "snippets": [ { diff --git a/samples/generated_samples/snippet_metadata_google.cloud.videointelligence.v1beta2.json b/samples/generated_samples/snippet_metadata_google.cloud.videointelligence.v1beta2.json index 665d6aa7..27c0821c 100644 --- a/samples/generated_samples/snippet_metadata_google.cloud.videointelligence.v1beta2.json +++ b/samples/generated_samples/snippet_metadata_google.cloud.videointelligence.v1beta2.json @@ -8,7 +8,7 @@ ], "language": "PYTHON", "name": "google-cloud-videointelligence", - "version": "2.11.2" + "version": "0.1.0" }, "snippets": [ { diff --git a/samples/generated_samples/snippet_metadata_google.cloud.videointelligence.v1p1beta1.json b/samples/generated_samples/snippet_metadata_google.cloud.videointelligence.v1p1beta1.json index b35b020e..91bdfe52 100644 --- a/samples/generated_samples/snippet_metadata_google.cloud.videointelligence.v1p1beta1.json +++ b/samples/generated_samples/snippet_metadata_google.cloud.videointelligence.v1p1beta1.json @@ -8,7 +8,7 @@ ], "language": "PYTHON", "name": "google-cloud-videointelligence", - "version": "2.11.2" + "version": "0.1.0" }, "snippets": [ { diff --git a/samples/generated_samples/snippet_metadata_google.cloud.videointelligence.v1p2beta1.json b/samples/generated_samples/snippet_metadata_google.cloud.videointelligence.v1p2beta1.json index cfac439b..ac1ac90e 100644 --- a/samples/generated_samples/snippet_metadata_google.cloud.videointelligence.v1p2beta1.json +++ b/samples/generated_samples/snippet_metadata_google.cloud.videointelligence.v1p2beta1.json @@ -8,7 +8,7 @@ ], "language": "PYTHON", "name": "google-cloud-videointelligence", - "version": "2.11.2" + "version": "0.1.0" }, "snippets": [ { diff --git a/samples/generated_samples/snippet_metadata_google.cloud.videointelligence.v1p3beta1.json b/samples/generated_samples/snippet_metadata_google.cloud.videointelligence.v1p3beta1.json index 0617e1aa..91041a39 100644 --- a/samples/generated_samples/snippet_metadata_google.cloud.videointelligence.v1p3beta1.json +++ b/samples/generated_samples/snippet_metadata_google.cloud.videointelligence.v1p3beta1.json @@ -8,7 +8,7 @@ ], "language": "PYTHON", "name": "google-cloud-videointelligence", - "version": "2.11.2" + "version": "0.1.0" }, "snippets": [ {