def get_region_url(self, region):
        """Get the URL endpoint for storage in a region.

        :param region: Region to get the endpoint for
        """
        try:
            region_name = region.name
        except __HOLE__:
            region_name = region
        try:
            return self.swifts[region_name]['endpoint']
        except KeyError:
            raise ResourceNotFoundError(msg='Region does not exist')
dataset/ETHPy150Open runabove/python-runabove/runabove/storage.py/ContainerManager.get_region_url