@property
    def _provider(self):
        from libcloud.storage.types import Provider
        try:
            provider_name = self.LIBCLOUD_S3_PROVIDERS_BY_REGION[self._region]
            return getattr(Provider, provider_name)
        except __HOLE__:
            raise ArgumentError(
                'Invalid value {invalid_region!r} for region. Valid Amazon S3 '
                'regions are {valid_regions}'.format(
                    invalid_region=self._region,
                    valid_regions=', '.join(
                        sorted(self.LIBCLOUD_S3_PROVIDERS_BY_REGION.keys())
                    )
                )
            )
dataset/ETHPy150Open jpvanhal/siilo/siilo/storages/amazon_s3.py/AmazonS3Storage._provider