@synchronized('lock')
    def channel(self, channel_id=None):
        try:
            return self.channels[channel_id]
        except KeyError:
            return Channel(self, channel_id)
Create a new channel, or fetch the channel associated with `channel_id` if specified
dataset/ETHPy150Open veegee/amqpy/amqpy/connection.py/Connection.channel