kylebarron commented on issue #899: URL: https://github.com/apache/datafusion-python/issues/899#issuecomment-2683964010
I'd suggest to wait until the `object_store` 0.12 release (and, then, for datafusion to use that) (because I'm pinned to latest main of `object_store` from pyo3_object-store right now until that release). But you can see how I'm reusing `pyo3_object_store` here: https://github.com/developmentseed/async-tiff/pull/17/files In essence, you can just [re-export the store builders](https://github.com/developmentseed/async-tiff/pull/17/files#diff-29c3cc51d8a9c262c1fbdc444bc1a13418acfe372410034e51eccbf70412ef7dR50-R51) and then [just accept `PyObjectStore`](https://github.com/developmentseed/async-tiff/pull/17/files#diff-99524e1e98c7b826b2d496f18a9b262cff6c0f44a0e5b10f8bfdb98a494892aaR20) in whatever function that should interact with a store. Then copy the type hints for the builders if desired. That exposes the full builder API as documented within `obstore.store`: https://developmentseed.org/obstore/latest/api/store/aws/ -- 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: github-unsubscr...@datafusion.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For additional commands, e-mail: github-h...@datafusion.apache.org