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

Commit 0e949ae

Browse files
committed
chore(docs): fix transport README
1 parent 535d654 commit 0e949ae

File tree

1 file changed

+7
-6
lines changed
  • gapic/templates/%namespace/%name_%version/%sub/services/%service/transports

1 file changed

+7
-6
lines changed

gapic/templates/%namespace/%name_%version/%sub/services/%service/transports/README.rst.j2

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@
22
transport inheritance structure
33
_______________________________
44

5-
`{{ service.name }}Transport` is the ABC for all transports.
6-
- public child `{{ service.name }}GrpcTransport` for sync gRPC transport (defined in `grpc.py`).
7-
- public child `{{ service.name }}GrpcAsyncIOTransport` for async gRPC transport (defined in `grpc_asyncio.py`).
8-
- private child `_Base{{ service.name }}RestTransport` for base REST transport with inner classes `_BaseMETHOD` (defined in `rest_base.py`).
9-
- public child `{{ service.name }}RestTransport` for sync REST transport with inner classes `METHOD` derived from the parent's corresponding `_BaseMETHOD` classes (defined in `rest.py`).
10-
{# Since the service mixins have a similar structure, we factor out shared code into `_shared_macros.j2` to avoid duplication. #}
5+
``{{ service.name }}Transport`` is the ABC for all transports.
6+
7+
- public child ``{{ service.name }}GrpcTransport`` for sync gRPC transport (defined in ``grpc.py``).
8+
- public child ``{{ service.name }}GrpcAsyncIOTransport`` for async gRPC transport (defined in ``grpc_asyncio.py``).
9+
- private child ``_Base{{ service.name }}RestTransport`` for base REST transport with inner classes ``_BaseMETHOD`` (defined in ``rest_base.py``).
10+
- public child ``{{ service.name }}RestTransport`` for sync REST transport with inner classes `METHOD` derived from the parent's corresponding ``_BaseMETHOD`` classes (defined in ``rest.py``).
11+
{# Since the service mixins have a similar structure, we factor out shared code into ``_shared_macros.j2`` to avoid duplication. #}

0 commit comments

Comments
 (0)