def _lookup(self, key=None):
        if self._toc is None:
            self._generate_toc()
        if key is not None:
            try:
                return self._toc[key]
            except KeyError:
                raise KeyError('No message with key: %s' % key)
Add the region to the kwargs before the connection is instantiated
dataset/ETHPy150Open babble/babble/include/jython/Lib/mailbox.py/_singlefileMailbox._lookup--crossover with--dataset/ETHPy150Open apache/libcloud/libcloud/compute/drivers/dimensiondata.py/DimensionDataNodeDriver._ex_connection_class_kwargs