polars::prelude::cloud

Function build_object_store

Source
pub async fn build_object_store(
    url: &str,
    options: Option<&CloudOptions>,
    glob: bool,
) -> Result<(CloudLocation, PolarsObjectStore), PolarsError>
Available on crate feature polars-io only.
Expand description

Build an [ObjectStore] based on the URL and passed in url. Return the cloud location and an implementation of the object store.