drivendataorg/cloudpathlib

Allow to pass boto3 client to S3Client

Open

#435 opened on May 7, 2024

 (4 comments) (0 reactions) (0 assignees)Python (87 forks)auto 404
S3good first issue

Repository metrics

Stars
 (624 stars)
PR merge metrics
 (PR metrics pending)

Description

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

Contributor guide