diff --git a/packages/google-cloud-videointelligence/google/__init__.py b/packages/google-cloud-videointelligence/google/__init__.py index 855a707300e1..f65701dd143f 100644 --- a/packages/google-cloud-videointelligence/google/__init__.py +++ b/packages/google-cloud-videointelligence/google/__init__.py @@ -1,3 +1,5 @@ +# -*- coding: utf-8 -*- +# # Copyright 2018 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); @@ -17,4 +19,4 @@ pkg_resources.declare_namespace(__name__) except ImportError: import pkgutil - __path__ = pkgutil.extend_path(__path__, __name__) \ No newline at end of file + __path__ = pkgutil.extend_path(__path__, __name__) diff --git a/packages/google-cloud-videointelligence/google/cloud/__init__.py b/packages/google-cloud-videointelligence/google/cloud/__init__.py index 855a707300e1..f65701dd143f 100644 --- a/packages/google-cloud-videointelligence/google/cloud/__init__.py +++ b/packages/google-cloud-videointelligence/google/cloud/__init__.py @@ -1,3 +1,5 @@ +# -*- coding: utf-8 -*- +# # Copyright 2018 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); @@ -17,4 +19,4 @@ pkg_resources.declare_namespace(__name__) except ImportError: import pkgutil - __path__ = pkgutil.extend_path(__path__, __name__) \ No newline at end of file + __path__ = pkgutil.extend_path(__path__, __name__) diff --git a/packages/google-cloud-videointelligence/google/cloud/videointelligence.py b/packages/google-cloud-videointelligence/google/cloud/videointelligence.py index ee05bf6ca5c5..cee5803ce00f 100644 --- a/packages/google-cloud-videointelligence/google/cloud/videointelligence.py +++ b/packages/google-cloud-videointelligence/google/cloud/videointelligence.py @@ -1,3 +1,5 @@ +# -*- coding: utf-8 -*- +# # Copyright 2018 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/packages/google-cloud-videointelligence/google/cloud/videointelligence_v1/__init__.py b/packages/google-cloud-videointelligence/google/cloud/videointelligence_v1/__init__.py index e5eeb102fd6b..cfdeee684012 100644 --- a/packages/google-cloud-videointelligence/google/cloud/videointelligence_v1/__init__.py +++ b/packages/google-cloud-videointelligence/google/cloud/videointelligence_v1/__init__.py @@ -1,3 +1,5 @@ +# -*- coding: utf-8 -*- +# # Copyright 2018 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/packages/google-cloud-videointelligence/google/cloud/videointelligence_v1/gapic/enums.py b/packages/google-cloud-videointelligence/google/cloud/videointelligence_v1/gapic/enums.py index 0f464f01a0e2..c44f70eb306d 100644 --- a/packages/google-cloud-videointelligence/google/cloud/videointelligence_v1/gapic/enums.py +++ b/packages/google-cloud-videointelligence/google/cloud/videointelligence_v1/gapic/enums.py @@ -1,3 +1,5 @@ +# -*- coding: utf-8 -*- +# # Copyright 2018 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/packages/google-cloud-videointelligence/google/cloud/videointelligence_v1/gapic/transports/video_intelligence_service_grpc_transport.py b/packages/google-cloud-videointelligence/google/cloud/videointelligence_v1/gapic/transports/video_intelligence_service_grpc_transport.py index b5c06bf356df..48fa08b11c48 100644 --- a/packages/google-cloud-videointelligence/google/cloud/videointelligence_v1/gapic/transports/video_intelligence_service_grpc_transport.py +++ b/packages/google-cloud-videointelligence/google/cloud/videointelligence_v1/gapic/transports/video_intelligence_service_grpc_transport.py @@ -1,3 +1,5 @@ +# -*- coding: utf-8 -*- +# # Copyright 2018 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/packages/google-cloud-videointelligence/google/cloud/videointelligence_v1/gapic/video_intelligence_service_client.py b/packages/google-cloud-videointelligence/google/cloud/videointelligence_v1/gapic/video_intelligence_service_client.py index 752e682a4819..b1d625fa24f0 100644 --- a/packages/google-cloud-videointelligence/google/cloud/videointelligence_v1/gapic/video_intelligence_service_client.py +++ b/packages/google-cloud-videointelligence/google/cloud/videointelligence_v1/gapic/video_intelligence_service_client.py @@ -1,3 +1,5 @@ +# -*- coding: utf-8 -*- +# # Copyright 2018 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); @@ -128,11 +130,12 @@ def __init__(self, 'Received both a transport instance and ' 'credentials; these are mutually exclusive.') self.transport = transport - self.transport = video_intelligence_service_grpc_transport.VideoIntelligenceServiceGrpcTransport( - address=self.SERVICE_ADDRESS, - channel=channel, - credentials=credentials, - ) + else: + self.transport = video_intelligence_service_grpc_transport.VideoIntelligenceServiceGrpcTransport( + address=self.SERVICE_ADDRESS, + channel=channel, + credentials=credentials, + ) if client_info is None: client_info = ( diff --git a/packages/google-cloud-videointelligence/google/cloud/videointelligence_v1/types.py b/packages/google-cloud-videointelligence/google/cloud/videointelligence_v1/types.py index 481d1d0a59dd..de24251d81a6 100644 --- a/packages/google-cloud-videointelligence/google/cloud/videointelligence_v1/types.py +++ b/packages/google-cloud-videointelligence/google/cloud/videointelligence_v1/types.py @@ -1,3 +1,5 @@ +# -*- coding: utf-8 -*- +# # Copyright 2018 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/packages/google-cloud-videointelligence/google/cloud/videointelligence_v1beta1/__init__.py b/packages/google-cloud-videointelligence/google/cloud/videointelligence_v1beta1/__init__.py index 10f3f29f265e..afba945f4aec 100644 --- a/packages/google-cloud-videointelligence/google/cloud/videointelligence_v1beta1/__init__.py +++ b/packages/google-cloud-videointelligence/google/cloud/videointelligence_v1beta1/__init__.py @@ -1,3 +1,5 @@ +# -*- coding: utf-8 -*- +# # Copyright 2018 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/packages/google-cloud-videointelligence/google/cloud/videointelligence_v1beta1/gapic/enums.py b/packages/google-cloud-videointelligence/google/cloud/videointelligence_v1beta1/gapic/enums.py index 7b6baea87bdc..98b91256ceda 100644 --- a/packages/google-cloud-videointelligence/google/cloud/videointelligence_v1beta1/gapic/enums.py +++ b/packages/google-cloud-videointelligence/google/cloud/videointelligence_v1beta1/gapic/enums.py @@ -1,3 +1,5 @@ +# -*- coding: utf-8 -*- +# # Copyright 2018 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/packages/google-cloud-videointelligence/google/cloud/videointelligence_v1beta1/gapic/transports/video_intelligence_service_grpc_transport.py b/packages/google-cloud-videointelligence/google/cloud/videointelligence_v1beta1/gapic/transports/video_intelligence_service_grpc_transport.py index 23252d51db8a..dbe0f3b93bcd 100644 --- a/packages/google-cloud-videointelligence/google/cloud/videointelligence_v1beta1/gapic/transports/video_intelligence_service_grpc_transport.py +++ b/packages/google-cloud-videointelligence/google/cloud/videointelligence_v1beta1/gapic/transports/video_intelligence_service_grpc_transport.py @@ -1,3 +1,5 @@ +# -*- coding: utf-8 -*- +# # Copyright 2018 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/packages/google-cloud-videointelligence/google/cloud/videointelligence_v1beta1/gapic/video_intelligence_service_client.py b/packages/google-cloud-videointelligence/google/cloud/videointelligence_v1beta1/gapic/video_intelligence_service_client.py index 7fe18ef8eae1..ac44e5c41ee6 100644 --- a/packages/google-cloud-videointelligence/google/cloud/videointelligence_v1beta1/gapic/video_intelligence_service_client.py +++ b/packages/google-cloud-videointelligence/google/cloud/videointelligence_v1beta1/gapic/video_intelligence_service_client.py @@ -1,3 +1,5 @@ +# -*- coding: utf-8 -*- +# # Copyright 2018 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); @@ -128,11 +130,12 @@ def __init__(self, 'Received both a transport instance and ' 'credentials; these are mutually exclusive.') self.transport = transport - self.transport = video_intelligence_service_grpc_transport.VideoIntelligenceServiceGrpcTransport( - address=self.SERVICE_ADDRESS, - channel=channel, - credentials=credentials, - ) + else: + self.transport = video_intelligence_service_grpc_transport.VideoIntelligenceServiceGrpcTransport( + address=self.SERVICE_ADDRESS, + channel=channel, + credentials=credentials, + ) if client_info is None: client_info = ( diff --git a/packages/google-cloud-videointelligence/google/cloud/videointelligence_v1beta1/types.py b/packages/google-cloud-videointelligence/google/cloud/videointelligence_v1beta1/types.py index 4063c468f1b9..edd50b10f86e 100644 --- a/packages/google-cloud-videointelligence/google/cloud/videointelligence_v1beta1/types.py +++ b/packages/google-cloud-videointelligence/google/cloud/videointelligence_v1beta1/types.py @@ -1,3 +1,5 @@ +# -*- coding: utf-8 -*- +# # Copyright 2018 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/packages/google-cloud-videointelligence/google/cloud/videointelligence_v1beta2/__init__.py b/packages/google-cloud-videointelligence/google/cloud/videointelligence_v1beta2/__init__.py index 8571aed3d8c2..f035702d9420 100644 --- a/packages/google-cloud-videointelligence/google/cloud/videointelligence_v1beta2/__init__.py +++ b/packages/google-cloud-videointelligence/google/cloud/videointelligence_v1beta2/__init__.py @@ -1,3 +1,5 @@ +# -*- coding: utf-8 -*- +# # Copyright 2018 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/packages/google-cloud-videointelligence/google/cloud/videointelligence_v1beta2/gapic/enums.py b/packages/google-cloud-videointelligence/google/cloud/videointelligence_v1beta2/gapic/enums.py index 0f464f01a0e2..c44f70eb306d 100644 --- a/packages/google-cloud-videointelligence/google/cloud/videointelligence_v1beta2/gapic/enums.py +++ b/packages/google-cloud-videointelligence/google/cloud/videointelligence_v1beta2/gapic/enums.py @@ -1,3 +1,5 @@ +# -*- coding: utf-8 -*- +# # Copyright 2018 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/packages/google-cloud-videointelligence/google/cloud/videointelligence_v1beta2/gapic/transports/video_intelligence_service_grpc_transport.py b/packages/google-cloud-videointelligence/google/cloud/videointelligence_v1beta2/gapic/transports/video_intelligence_service_grpc_transport.py index ca1e920c30db..e63606e6c153 100644 --- a/packages/google-cloud-videointelligence/google/cloud/videointelligence_v1beta2/gapic/transports/video_intelligence_service_grpc_transport.py +++ b/packages/google-cloud-videointelligence/google/cloud/videointelligence_v1beta2/gapic/transports/video_intelligence_service_grpc_transport.py @@ -1,3 +1,5 @@ +# -*- coding: utf-8 -*- +# # Copyright 2018 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/packages/google-cloud-videointelligence/google/cloud/videointelligence_v1beta2/gapic/video_intelligence_service_client.py b/packages/google-cloud-videointelligence/google/cloud/videointelligence_v1beta2/gapic/video_intelligence_service_client.py index 72c1e2aa9c4d..6710b95b1a3e 100644 --- a/packages/google-cloud-videointelligence/google/cloud/videointelligence_v1beta2/gapic/video_intelligence_service_client.py +++ b/packages/google-cloud-videointelligence/google/cloud/videointelligence_v1beta2/gapic/video_intelligence_service_client.py @@ -1,3 +1,5 @@ +# -*- coding: utf-8 -*- +# # Copyright 2018 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); @@ -128,11 +130,12 @@ def __init__(self, 'Received both a transport instance and ' 'credentials; these are mutually exclusive.') self.transport = transport - self.transport = video_intelligence_service_grpc_transport.VideoIntelligenceServiceGrpcTransport( - address=self.SERVICE_ADDRESS, - channel=channel, - credentials=credentials, - ) + else: + self.transport = video_intelligence_service_grpc_transport.VideoIntelligenceServiceGrpcTransport( + address=self.SERVICE_ADDRESS, + channel=channel, + credentials=credentials, + ) if client_info is None: client_info = ( diff --git a/packages/google-cloud-videointelligence/google/cloud/videointelligence_v1beta2/types.py b/packages/google-cloud-videointelligence/google/cloud/videointelligence_v1beta2/types.py index 11da93deb9de..cee423328e24 100644 --- a/packages/google-cloud-videointelligence/google/cloud/videointelligence_v1beta2/types.py +++ b/packages/google-cloud-videointelligence/google/cloud/videointelligence_v1beta2/types.py @@ -1,3 +1,5 @@ +# -*- coding: utf-8 -*- +# # Copyright 2018 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/packages/google-cloud-videointelligence/google/cloud/videointelligence_v1p1beta1/__init__.py b/packages/google-cloud-videointelligence/google/cloud/videointelligence_v1p1beta1/__init__.py index 21723eb93bf9..9cc37eaf5338 100644 --- a/packages/google-cloud-videointelligence/google/cloud/videointelligence_v1p1beta1/__init__.py +++ b/packages/google-cloud-videointelligence/google/cloud/videointelligence_v1p1beta1/__init__.py @@ -1,3 +1,5 @@ +# -*- coding: utf-8 -*- +# # Copyright 2018 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/packages/google-cloud-videointelligence/google/cloud/videointelligence_v1p1beta1/gapic/enums.py b/packages/google-cloud-videointelligence/google/cloud/videointelligence_v1p1beta1/gapic/enums.py index 4fd70b4e36e0..06ee28ea12ae 100644 --- a/packages/google-cloud-videointelligence/google/cloud/videointelligence_v1p1beta1/gapic/enums.py +++ b/packages/google-cloud-videointelligence/google/cloud/videointelligence_v1p1beta1/gapic/enums.py @@ -1,3 +1,5 @@ +# -*- coding: utf-8 -*- +# # Copyright 2018 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/packages/google-cloud-videointelligence/google/cloud/videointelligence_v1p1beta1/gapic/transports/video_intelligence_service_grpc_transport.py b/packages/google-cloud-videointelligence/google/cloud/videointelligence_v1p1beta1/gapic/transports/video_intelligence_service_grpc_transport.py index 6c1572206714..aeb7118eaf99 100644 --- a/packages/google-cloud-videointelligence/google/cloud/videointelligence_v1p1beta1/gapic/transports/video_intelligence_service_grpc_transport.py +++ b/packages/google-cloud-videointelligence/google/cloud/videointelligence_v1p1beta1/gapic/transports/video_intelligence_service_grpc_transport.py @@ -1,3 +1,5 @@ +# -*- coding: utf-8 -*- +# # Copyright 2018 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/packages/google-cloud-videointelligence/google/cloud/videointelligence_v1p1beta1/gapic/video_intelligence_service_client.py b/packages/google-cloud-videointelligence/google/cloud/videointelligence_v1p1beta1/gapic/video_intelligence_service_client.py index f19bad380755..fab73331534e 100644 --- a/packages/google-cloud-videointelligence/google/cloud/videointelligence_v1p1beta1/gapic/video_intelligence_service_client.py +++ b/packages/google-cloud-videointelligence/google/cloud/videointelligence_v1p1beta1/gapic/video_intelligence_service_client.py @@ -1,3 +1,5 @@ +# -*- coding: utf-8 -*- +# # Copyright 2018 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); @@ -128,11 +130,12 @@ def __init__(self, 'Received both a transport instance and ' 'credentials; these are mutually exclusive.') self.transport = transport - self.transport = video_intelligence_service_grpc_transport.VideoIntelligenceServiceGrpcTransport( - address=self.SERVICE_ADDRESS, - channel=channel, - credentials=credentials, - ) + else: + self.transport = video_intelligence_service_grpc_transport.VideoIntelligenceServiceGrpcTransport( + address=self.SERVICE_ADDRESS, + channel=channel, + credentials=credentials, + ) if client_info is None: client_info = ( diff --git a/packages/google-cloud-videointelligence/google/cloud/videointelligence_v1p1beta1/types.py b/packages/google-cloud-videointelligence/google/cloud/videointelligence_v1p1beta1/types.py index f17ba0374400..8bd345a758d4 100644 --- a/packages/google-cloud-videointelligence/google/cloud/videointelligence_v1p1beta1/types.py +++ b/packages/google-cloud-videointelligence/google/cloud/videointelligence_v1p1beta1/types.py @@ -1,3 +1,5 @@ +# -*- coding: utf-8 -*- +# # Copyright 2018 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License");