Summary
Subject
Steps to Reproduce
- Create a config file named
msc_bug.yaml
profiles:
s3-my-bucket:
storage_provider:
type: s3
options:
endpoint_url: https://my-endpoint.s3.com
base_path: my-bucket
- Create a script named
msc_bug.py
import multistorageclient as msc
def main():
client, _ = msc.resolve_storage_client("s3://my-bucket/my_file.txt")
assert client._storage_provider._endpoint_url == "https://my-endpoint.s3.com", f"{client._storage_provider._endpoint_url=}"
if __name__ == "__main__":
main()
- Run
MSC_MSC_CONFIG=msc_bug.yaml python msc_bug.py
Environment Details
- MultiStorageClient version
- Operating system and version
- Python version
Expected Behaviour
Url, as well as all other options, should be passed
Additional Context
Add any other context or screenshots about the bug here.
Summary
Subject
Steps to Reproduce
msc_bug.yamlmsc_bug.pyEnvironment Details
Expected Behaviour
Url, as well as all other options, should be passed
Additional Context
Add any other context or screenshots about the bug here.