Skip to content

Commit

Permalink
c
Browse files Browse the repository at this point in the history
  • Loading branch information
nameexhaustion committed Oct 24, 2024
1 parent 2c4afec commit e819102
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 0 additions & 2 deletions py-polars/polars/io/ipc/functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,8 @@
parse_row_index_args,
prepare_file_arg,
)

from polars.io.cloud.credential_provider import _maybe_init_credential_provider


with contextlib.suppress(ImportError): # Module not available when building docs
from polars.polars import PyDataFrame, PyLazyFrame
from polars.polars import read_ipc_schema as _read_ipc_schema
Expand Down
2 changes: 2 additions & 0 deletions py-polars/tests/unit/io/cloud/test_cloud.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ def raises(*_: None, **__: None) -> None:
with pytest.raises(AssertionError, match=err_magic):
io_func("s3://bucket/path", credential_provider="auto")

# We can't test these with the `read_` functions as they end up executing
# the query
if io_func.__name__.startswith("scan_"):
# Passing `None` should disable the automatic instantiation of
# `CredentialProviderAWS`
Expand Down

0 comments on commit e819102

Please sign in to comment.