def get_transport_class(cls, label: str=None) -> Type[FeedServiceTransport]:
    'Returns an appropriate transport class.\n\n        Args:\n            label: The name of the desired transport. If none is\n                provided, then the first transport in the registry is used.\n\n        Returns:\n            The transport class to use.\n        '
    if label:
        return cls._transport_registry[label]
    return next(iter(cls._transport_registry.values()))
Returns an appropriate transport class.

Args:
    label: The name of the desired transport. If none is
        provided, then the first transport in the registry is used.

Returns:
    The transport class to use.
def get_transport_class(cls, label: str=None) -> Type[FeedServiceTransport]:
    'Returns an appropriate transport class.\n\n        Args:\n            label: The name of the desired transport. If none is\n                provided, then the first transport in the registry is used.\n\n        Returns:\n            The transport class to use.\n        '
    if label:
        return cls._transport_registry[label]
    return next(iter(cls._transport_registry.values()))