'Get the currently used transport class.'

def get_transport_cls(self):

    transport_cls = self.transport_cls
    if ((not transport_cls) or isinstance(transport_cls, string_t)):
        transport_cls = get_transport_cls(transport_cls)
    return transport_cls
