Skip to content

Commit

Permalink
Cloud options are really optional
Browse files Browse the repository at this point in the history
  • Loading branch information
wence- committed Jul 22, 2024
1 parent 31533a1 commit 6aa9432
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/cudf_polars/cudf_polars/dsl/ir.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ def __post_init__(self) -> None:
if self.typ not in ("csv", "parquet"):
raise NotImplementedError(f"Unhandled scan type: {self.typ}")
if self.cloud_options is not None and any(
self.cloud_options[k] is not None for k in ("aws", "azure", "gcp")
self.cloud_options.get(k) is not None for k in ("aws", "azure", "gcp")
):
raise NotImplementedError(
"Read from cloud storage"
Expand Down

0 comments on commit 6aa9432

Please sign in to comment.