Skip to content

Commit cdff1f4

Browse files
galz10parthea
andauthored
Chore: Added document ai to setup.py (#1349)
* Chore: Added document ai to setup.py * updated ads-templates setup.py * removed readme from ads template * reverted ads-templates changes * Update gapic/templates/setup.py.j2 Co-authored-by: Anthonios Partheniou <partheniou@google.com> * add new line * lint Co-authored-by: Anthonios Partheniou <partheniou@google.com>
1 parent d1c4c8e commit cdff1f4

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

packages/gapic-generator/gapic/templates/setup.py.j2

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@ setuptools.setup(
4343
{% if api.requires_package(('google', 'iam', 'v1')) or opts.add_iam_methods or api.has_iam_mixin %}
4444
'grpc-google-iam-v1 >= 0.12.4, < 0.13dev',
4545
{% endif %}
46+
{% if api.requires_package(('google', 'cloud', 'documentai', 'v1')) %}
47+
'google-cloud-documentai >= 1.2.1, < 2.0.0dev',
48+
{% endif %}
4649
),
4750
python_requires='>=3.6',
4851
classifiers=[

packages/gapic-generator/tests/unit/common_types.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
import itertools
1717

1818
from collections import namedtuple
19-
from typing import(Any, Dict, Iterable, Optional)
19+
from typing import (Any, Dict, Iterable, Optional)
2020

2121
from google.protobuf import descriptor_pb2
2222

0 commit comments

Comments
 (0)