Skip to content

Commit

Permalink
fix env var parse
Browse files Browse the repository at this point in the history
  • Loading branch information
nameexhaustion committed Jul 18, 2024
1 parent 370cceb commit 5e624c8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions py-polars/src/lazyframe/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ impl PyLazyFrame {
let mut cloud_options = if let Some(opts) = cloud_options {
parse_cloud_options(&first_path_url, opts)?
} else {
Default::default()
parse_cloud_options(&first_path_url, vec![])?
};

cloud_options = cloud_options.with_max_retries(retries);
Expand Down Expand Up @@ -271,7 +271,7 @@ impl PyLazyFrame {
let mut cloud_options = if let Some(opts) = cloud_options {
parse_cloud_options(&first_path_url, opts)?
} else {
Default::default()
parse_cloud_options(&first_path_url, vec![])?
};

cloud_options = cloud_options.with_max_retries(retries);
Expand Down Expand Up @@ -352,7 +352,7 @@ impl PyLazyFrame {
let mut cloud_options = if let Some(opts) = cloud_options {
parse_cloud_options(&first_path_url, opts)?
} else {
Default::default()
parse_cloud_options(&first_path_url, vec![])?
};

cloud_options = cloud_options.with_max_retries(retries);
Expand Down

0 comments on commit 5e624c8

Please sign in to comment.