drivendataorg/cloudpathlib

Allow to pass boto3 client to S3Client

開放

#435 建立於 2024年5月7日

 (4 則留言) (0 個反應) (0 位負責人)Python (87 個分叉)auto 404
S3good first issue

倉庫指標

星標
 (624 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

Currently the S3Client needs the credentials to be used, but what happens if i already have a boto3 client somewhere initialized and i want to use the S3Client class?

Is it possible to allow for the S3Client to take a boto3 client that has already been created? It would be simply passing the client at the constructor

貢獻者指南