diff --git a/gapic/ads-templates/%namespace/%name/%version/%sub/services/%service/transports/base.py.j2 b/gapic/ads-templates/%namespace/%name/%version/%sub/services/%service/transports/base.py.j2 index f25ba96a1a..29f8c2df9a 100644 --- a/gapic/ads-templates/%namespace/%name/%version/%sub/services/%service/transports/base.py.j2 +++ b/gapic/ads-templates/%namespace/%name/%version/%sub/services/%service/transports/base.py.j2 @@ -93,6 +93,7 @@ class {{ service.name }}Transport(metaclass=abc.ABCMeta): exceptions.{{ ex.__name__ }}, {%- endfor %} ), + deadline={{ method.timeout }}, ), {%- endif %} default_timeout={{ method.timeout }}, diff --git a/gapic/templates/%namespace/%name_%version/%sub/services/%service/async_client.py.j2 b/gapic/templates/%namespace/%name_%version/%sub/services/%service/async_client.py.j2 index c0e2c9a6ac..6fd4e482ec 100644 --- a/gapic/templates/%namespace/%name_%version/%sub/services/%service/async_client.py.j2 +++ b/gapic/templates/%namespace/%name_%version/%sub/services/%service/async_client.py.j2 @@ -254,6 +254,7 @@ class {{ service.async_client_name }}: exceptions.{{ ex.__name__ }}, {%- endfor %} ), + deadline={{ method.timeout }}, ), {%- endif %} default_timeout={{ method.timeout }}, diff --git a/gapic/templates/%namespace/%name_%version/%sub/services/%service/transports/base.py.j2 b/gapic/templates/%namespace/%name_%version/%sub/services/%service/transports/base.py.j2 index d450f9a287..fabd1769f7 100644 --- a/gapic/templates/%namespace/%name_%version/%sub/services/%service/transports/base.py.j2 +++ b/gapic/templates/%namespace/%name_%version/%sub/services/%service/transports/base.py.j2 @@ -118,6 +118,7 @@ class {{ service.name }}Transport(abc.ABC): exceptions.{{ ex.__name__ }}, {%- endfor %} ), + deadline={{ method.timeout }}, ), {%- endif %} default_timeout={{ method.timeout }},