kylebarron commented on issue #409: URL: https://github.com/apache/arrow-rs-object-store/issues/409#issuecomment-3282067577
I'll just note that this is what I do [in my Python bindings](https://github.com/developmentseed/obstore). I [use `ObjectStoreScheme::parse` manually](https://github.com/developmentseed/obstore/blob/49fe65d82d81bcd9af6f4f187e2b2852e77aca9c/pyo3-object_store/src/aws/store.rs#L152-L160) to extract the prefix, if one exists. Then I [wrap all stores](https://github.com/developmentseed/obstore/blob/49fe65d82d81bcd9af6f4f187e2b2852e77aca9c/pyo3-object_store/src/aws/store.rs#L66) with a "`MaybePrefixedStore`", which just stores [a `prefix: Option<Path>`](https://github.com/developmentseed/obstore/blob/49fe65d82d81bcd9af6f4f187e2b2852e77aca9c/pyo3-object_store/src/prefix.rs#L25) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
