drivendataorg/cloudpathlib

Allow to pass boto3 client to S3Client

Aperta

#435 aperta il 7 mag 2024

 (4 commenti) (0 reazioni) (0 assegnatari)Python (87 fork)auto 404
S3good first issue

Metriche repository

Star
 (624 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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

Guida contributor