def _get_swift_client(self, region_name):
        token = self._handler.tokens.get()
        endpoint = token.get_endpoint('object-store', region_name)
        client = swiftclient.client.Connection(preauthurl=endpoint['url'],
                                               preauthtoken=token.auth_token)
        return {
            'client': client,
            'endpoint': endpoint['url'],
        }
Get the swift client for a region.
dataset/ETHPy150Open runabove/python-runabove/runabove/storage.py/ContainerManager._get_swift_client