This repository was archived by the owner on Dec 17, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +2
-9
lines changed Expand file tree Collapse file tree 3 files changed +2
-9
lines changed Original file line number Diff line number Diff line change 14
14
15
15
from __future__ import absolute_import
16
16
17
+ from dialogflow_v2 import types
17
18
from dialogflow_v2 .gapic import agents_client
18
19
from dialogflow_v2 .gapic import contexts_client
19
20
from dialogflow_v2 .gapic import entity_types_client
Original file line number Diff line number Diff line change 14
14
15
15
from __future__ import absolute_import
16
16
17
+ from dialogflow_v2beta1 import types
17
18
from dialogflow_v2beta1 .gapic import agents_client
18
19
from dialogflow_v2beta1 .gapic import contexts_client
19
20
from dialogflow_v2beta1 .gapic import documents_client
Original file line number Diff line number Diff line change 42
42
43
43
code_paths = ['tests/unit/gapic/**/*.py' ,
44
44
f'dialogflow_{ version } /**/*.py' ]
45
- #,
46
- #f'dialogflow_{version}/__init__.py'
47
- #f'dialogflow_{version}/types.py']
48
45
49
46
s .replace (
50
47
code_paths , 'import google.cloud.dialogflow' , 'import dialogflow' )
72
69
"# Copyright 2018 Google LLC" ,
73
70
"# -*- coding: utf-8 -*-\n \g<0>" )
74
71
75
- # __init__.py has an import that isn't used and causes errors
76
- s .replace (
77
- ['dialogflow_v2/__init__.py' , 'dialogflow_v2beta1/__init__.py' ],
78
- 'from dialogflow_.*? import types\n ' ,
79
- '' )
80
-
81
72
# Docstring has an extra '\' at the end of it
82
73
s .replace (
83
74
'dialogflow_v2/gapic/agents_client.py' ,
You can’t perform that action at this time.
0 commit comments