Feature description
- What are you trying to achieve?
interoperability w/ url-like file specifiers that have the object version encoded in the path as ?versionId=...
- What is the expected result?
this would return the correct version: smart_open('s3://buckety/pathy-like-path.txt?versionId=12345')
s3fs does this nicely: https://s3fs.readthedocs.io/en/latest/api.html#s3fs.core.S3FileSystem.split_path
- What are you seeing instead?
smart_open doesn't know that ? can not be in an s3 key (https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html), or that versionId is a valid url-parameter, so instead this type of open fails.
Checklist
Before you create the issue, please make sure you have:
Feature description
interoperability w/ url-like file specifiers that have the object version encoded in the path as
?versionId=...this would return the correct version:
smart_open('s3://buckety/pathy-like-path.txt?versionId=12345')s3fs does this nicely: https://s3fs.readthedocs.io/en/latest/api.html#s3fs.core.S3FileSystem.split_path
smart_opendoesn't know that?can not be in an s3 key (https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html), or that versionId is a valid url-parameter, so instead this type of open fails.Checklist
Before you create the issue, please make sure you have: