File tree Expand file tree Collapse file tree 2 files changed +3438
-5
lines changed
google/cloud/documentai_v1beta1 Expand file tree Collapse file tree 2 files changed +3438
-5
lines changed Original file line number Diff line number Diff line change 1616
1717
1818from __future__ import absolute_import
19+ import sys
20+ import warnings
1921
2022from google .cloud .documentai_v1beta1 import types
2123from google .cloud .documentai_v1beta1 .gapic import document_understanding_service_client
2224from google .cloud .documentai_v1beta1 .gapic import enums
2325
2426
27+ if sys .version_info [:2 ] == (2 , 7 ):
28+ message = (
29+ "A future version of this library will drop support for Python 2.7."
30+ "More details about Python 2 support for Google Cloud Client Libraries"
31+ "can be found at https://cloud.google.com/python/docs/python2-sunset/"
32+ )
33+ warnings .warn (message , DeprecationWarning )
34+
35+
2536class DocumentUnderstandingServiceClient (
2637 document_understanding_service_client .DocumentUnderstandingServiceClient
2738):
You can’t perform that action at this time.
0 commit comments