From ef04687c2007a7394b7782aa6389d27bc7d83a87 Mon Sep 17 00:00:00 2001 From: andres Date: Fri, 19 Apr 2024 12:01:35 -0500 Subject: [PATCH] chore: Fix error in documentation test for CloudOptions --- crates/polars-io/src/cloud/options.rs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/crates/polars-io/src/cloud/options.rs b/crates/polars-io/src/cloud/options.rs index 240fc607726fb..ca4e2ba5fc3d1 100644 --- a/crates/polars-io/src/cloud/options.rs +++ b/crates/polars-io/src/cloud/options.rs @@ -354,10 +354,13 @@ impl CloudOptions { /// # Example /// /// ``` - /// use polars::io::cloud::{ CloudOptions, GoogleConfigKey }; + /// use polars_io::cloud::options::{ CloudOptions, GoogleConfigKey }; /// /// let cloud_options = CloudOptions::default() - /// .with_gcp([GoogleConfigKey::ServiceAccountKey, "*********"]); + /// .with_gcp([ + /// (GoogleConfigKey::ServiceAccountKey, "*********"), + /// (GoogleConfigKey::ServiceAccount, "path/to/sa.json") + /// ]); /// ``` #[cfg(feature = "gcp")] pub fn with_gcp)>>(