File tree 2 files changed +3438
-5
lines changed
google/cloud/documentai_v1beta1
2 files changed +3438
-5
lines changed Original file line number Diff line number Diff line change 16
16
17
17
18
18
from __future__ import absolute_import
19
+ import sys
20
+ import warnings
19
21
20
22
from google .cloud .documentai_v1beta1 import types
21
23
from google .cloud .documentai_v1beta1 .gapic import document_understanding_service_client
22
24
from google .cloud .documentai_v1beta1 .gapic import enums
23
25
24
26
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
+
25
36
class DocumentUnderstandingServiceClient (
26
37
document_understanding_service_client .DocumentUnderstandingServiceClient
27
38
):
You can’t perform that action at this time.
0 commit comments