You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/gapic-generator/gapic/ads-templates/%namespace/%name/%version/%sub/services/%service/transports/rest.py.j2
+17-10Lines changed: 17 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -11,8 +11,10 @@ from google.auth import credentials as ga_credentials # type: ignore
11
11
from google.api_core import exceptions as core_exceptions
12
12
from google.api_core import retry as retries
13
13
from google.api_core import rest_helpers
14
+
from google.api_core import rest_streaming
14
15
from google.api_core import path_template
15
16
from google.api_core import gapic_v1
17
+
16
18
{%ifservice.has_lro%}
17
19
from google.api_core import operations_v1
18
20
from google.protobuf import json_format
@@ -66,7 +68,7 @@ class {{ service.name }}RestInterceptor:
66
68
67
69
.. code-block:
68
70
class MyCustom{{ service.name }}Interceptor({{ service.name }}RestInterceptor):
Copy file name to clipboardExpand all lines: packages/gapic-generator/gapic/templates/%namespace/%name_%version/%sub/services/%service/transports/rest.py.j2
+17-10Lines changed: 17 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -11,8 +11,10 @@ from google.auth import credentials as ga_credentials # type: ignore
11
11
from google.api_core import exceptions as core_exceptions
12
12
from google.api_core import retry as retries
13
13
from google.api_core import rest_helpers
14
+
from google.api_core import rest_streaming
14
15
from google.api_core import path_template
15
16
from google.api_core import gapic_v1
17
+
16
18
{%ifservice.has_lro%}
17
19
from google.api_core import operations_v1
18
20
from google.protobuf import json_format
@@ -66,7 +68,7 @@ class {{ service.name }}RestInterceptor:
66
68
67
69
.. code-block:
68
70
class MyCustom{{ service.name }}Interceptor({{ service.name }}RestInterceptor):
0 commit comments