Skip to content

Commit

Permalink
fix increase_load_count (#7165)
Browse files Browse the repository at this point in the history
  • Loading branch information
lhoestq authored Sep 24, 2024
1 parent b032702 commit 548d2d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/datasets/load.py
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ def increase_load_count(name: str):
try:
get_session().head(
"/".join((config.S3_DATASETS_BUCKET_PREFIX, name, name + ".py")),
user_agent=get_datasets_user_agent(),
headers={"User-Agent": get_datasets_user_agent()},
timeout=3,
)
except Exception:
Expand Down

0 comments on commit 548d2d2

Please sign in to comment.