Skip to content
This repository was archived by the owner on Mar 26, 2026. It is now read-only.

Commit e46a374

Browse files
committed
updated docstrings
1 parent 4a15d60 commit e46a374

5 files changed

Lines changed: 6 additions & 6 deletions

File tree

gapic/templates/%namespace/%name_%version/%sub/services/%service/transports/base.py.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ class {{ service.name }}Transport(abc.ABC):
103103
your own client library.
104104
always_use_jwt_access (Optional[bool]): Whether self signed JWT should
105105
be used for service account credentials.
106-
api_audience Optional[str]: The intended audience for the API calls
106+
api_audience (Optional[str]): The intended audience for the API calls
107107
to the service that will be set when using certain 3rd party
108108
authentication flows. Audience is typically a resource identifier.
109109
If not set, the host value will be used as a default.

gapic/templates/%namespace/%name_%version/%sub/services/%service/transports/grpc.py.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ class {{ service.name }}GrpcTransport({{ service.name }}Transport):
169169
your own client library.
170170
always_use_jwt_access (Optional[bool]): Whether self signed JWT should
171171
be used for service account credentials.
172-
api_audience Optional[str]: The intended audience for the API calls
172+
api_audience (Optional[str]): The intended audience for the API calls
173173
to the service that will be set when using certain 3rd party
174174
authentication flows. Audience is typically a resource identifier.
175175
If not set, the host value will be used as a default.

gapic/templates/%namespace/%name_%version/%sub/services/%service/transports/grpc_asyncio.py.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ class {{ service.grpc_asyncio_transport_name }}({{ service.name }}Transport):
218218
your own client library.
219219
always_use_jwt_access (Optional[bool]): Whether self signed JWT should
220220
be used for service account credentials.
221-
api_audience Optional[str]: The intended audience for the API calls
221+
api_audience (Optional[str]): The intended audience for the API calls
222222
to the service that will be set when using certain 3rd party
223223
authentication flows. Audience is typically a resource identifier.
224224
If not set, the host value will be used as a default.

gapic/templates/%namespace/%name_%version/%sub/services/%service/transports/rest.py.j2

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,9 +135,9 @@ class {{service.name}}RestTransport(_Base{{ service.name }}RestTransport):
135135
url_scheme: the protocol scheme for the API endpoint. Normally
136136
"https", but for testing or local servers,
137137
"http" can be specified.
138-
interceptor Optional[{{ service.name }}RestInterceptor]: Interceptor used
138+
interceptor (Optional[{{ service.name }}RestInterceptor]): Interceptor used
139139
to manipulate requests, request metadata, and responses.
140-
api_audience Optional[str]: The intended audience for the API calls
140+
api_audience (Optional[str]): The intended audience for the API calls
141141
to the service that will be set when using certain 3rd party
142142
authentication flows. Audience is typically a resource identifier.
143143
If not set, the host value will be used as a default.

gapic/templates/%namespace/%name_%version/%sub/services/%service/transports/rest_asyncio.py.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ class Async{{service.name}}RestTransport(_Base{{ service.name }}RestTransport):
134134
url_scheme (str): the protocol scheme for the API endpoint. Normally
135135
"https", but for testing or local servers,
136136
"http" can be specified.
137-
interceptor Optional[{{ service.name }}RestInterceptor]: Interceptor used
137+
interceptor (Optional[Async{{ service.name }}RestInterceptor]): Interceptor used
138138
to manipulate requests, request metadata, and responses.
139139
"""
140140
# Run the base constructor

0 commit comments

Comments
 (0)