Skip to content

Commit

Permalink
chore: Fix error in documentation test for CloudOptions
Browse files Browse the repository at this point in the history
  • Loading branch information
andyquinterom committed Apr 19, 2024
1 parent 4a7b8d4 commit ef04687
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions crates/polars-io/src/cloud/options.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<I: IntoIterator<Item = (GoogleConfigKey, impl Into<String>)>>(
Expand Down

0 comments on commit ef04687

Please sign in to comment.