You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am starting to use upath a lot, it makes things so much easier! This is not an issue/bug, just a question (this github repo doesn't seem to have a "discussions" section).
I imagine that for S3 paths, somewhere under the hood upath is using boto3 and creating an S3 boto3 client.
If I create multiple UPaths, is each one creating a separate boto3 client? Or does it have a mechanism to reuse a client?
I am using both upath as well as smart_open, and the latter supports the ability to pass in your own boto3 client (described here). I couldn't find anything in the upath documentation, is this handled implicitly or just not supported?
The text was updated successfully, but these errors were encountered:
It's been awhile, but I've been doing a bit of Github housekeeping and realized this is still open.
Yes, the info above is helpful, thank you!
Also adding a link to this article that I found helpful in thinking through things, in case it's useful to others: https://ben11kehoe.medium.com/boto3-sessions-and-why-you-should-use-them-9b094eb5ca8e
I am starting to use upath a lot, it makes things so much easier! This is not an issue/bug, just a question (this github repo doesn't seem to have a "discussions" section).
I imagine that for S3 paths, somewhere under the hood upath is using
boto3
and creating an S3 boto3 client.If I create multiple UPaths, is each one creating a separate boto3 client? Or does it have a mechanism to reuse a client?
I am using both upath as well as
smart_open
, and the latter supports the ability to pass in your own boto3 client (described here). I couldn't find anything in the upath documentation, is this handled implicitly or just not supported?The text was updated successfully, but these errors were encountered: