Skip to content

Commit

Permalink
Correct issue number in comment
Browse files Browse the repository at this point in the history
  • Loading branch information
matstrand committed May 3, 2024
1 parent 88cc5a3 commit c3c0c06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/datasets/utils/file_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -569,7 +569,7 @@ def get_from_cache(
connected = ftp_head(url)
elif scheme not in ("http", "https"):
if scheme in ("s3", "s3a") and storage_options is not None and "hf" in storage_options:
# Issue 6071: **storage_options is passed to botocore.session.Session()
# Issue 6598: **storage_options is passed to botocore.session.Session()
# and must not contain keys that become invalid kwargs.
del storage_options["hf"]
response = fsspec_head(url, storage_options=storage_options)
Expand Down

0 comments on commit c3c0c06

Please sign in to comment.