Closed atamano closed 9 months ago
@atamano thanks for bringing up the issue. We are working on refactoring the object store. So it is requiring the "region_name" parameter?
Yes the missing parameter is the region_name
my bad, the correct environment variable boto3 expects is AWS_DEFAULT_REGION
, I'm closing this issue
Environment
To reproduce
export R2 env variables
call merge function
results in
Expected behavior
expected index.json to be created
Additional context
Stacktrace:
According to their documentation, the boto3 client should be created that way to work:
https://developers.cloudflare.com/r2/examples/aws/boto3/
Thats not the case here:
https://github.com/mosaicml/streaming/blob/bc72659cc84e57721d36776267ab4cfa750a9ed1/streaming/base/storage/download.py#L68