module documentation

Thin wrappers around the underlying gRPC channel used by the SDK.

This module exposes two small helper classes:

  • AddressChannel pairs a grpc.aio.Channel with the resolved address string used to create it. The SDK uses this wrapper to keep track of which transport channel corresponds to which logical endpoint.
  • ChannelBase is a trivial subclass of the gRPC channel type used to annotate and accept SDK-style channels where a grpc.aio.Channel is expected.
Class AddressChannel Simple container for a gRPC channel and its resolved address.
Class ChannelBase Base class used for SDK channel implementations.