Skip to content

Commit a6beb92

Browse files
committed
update comment
1 parent 2e40a21 commit a6beb92

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

gapic/templates/%namespace/%name_%version/%sub/services/%service/_shared_macros.j2

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -383,12 +383,11 @@ class {{ async_method_name_prefix }}{{ service.name }}RestInterceptor:
383383
{% endif %}
384384
"""Post-rpc interceptor for {{ method.name|snake_case }}
385385

386-
Deprecated. Override in a subclass to read or manipulate the response
386+
Deprecated. This interceptor is deprecated. Please use the `post_{{ method.name|snake_case }}_with_metadata`
387+
interceptor instead. Override in a subclass to read or manipulate the response
387388
after it is returned by the {{ service.name }} server but before
388389
it is returned to user code. This `post_{{ method.name|snake_case }}` iterceptor runs
389-
before the `post_{{ method.name|snake_case }}_with_metadata` iterceptor. This
390-
interceptor is deprecated. Please use the `post_{{ method.name|snake_case }}_with_metadata`
391-
interceptor instead.
390+
before the `post_{{ method.name|snake_case }}_with_metadata` iterceptor.
392391
"""
393392
return response
394393

0 commit comments

Comments
 (0)