s3.py 文件源码

python
阅读 28 收藏 0 点赞 0 评论 0

项目:stor 作者: counsyl 项目源码 文件源码
def _s3_client_call(self, method_name, *args, **kwargs):
        """
        Creates a boto3 S3 ``Client`` object and runs ``method_name``.
        """
        s3_client = _get_s3_client()
        method = getattr(s3_client, method_name)
        try:
            return method(*args, **kwargs)
        except botocore_exceptions.ClientError as e:
            six.raise_from(_parse_s3_error(e, **kwargs), e)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号