From 69fb43d3702aa100caca27c7286dcaa96f7d1d23 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Fri, 6 Sep 2024 07:59:50 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/litdata/streaming/downloader.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/litdata/streaming/downloader.py b/src/litdata/streaming/downloader.py index 046361ba..093c3451 100644 --- a/src/litdata/streaming/downloader.py +++ b/src/litdata/streaming/downloader.py @@ -244,9 +244,10 @@ def download_s3_file_via_s5cmd(remote_filepath: str, local_filepath: str) -> Non } _DEFAULT_STORAGE_OPTIONS = { - "s3":{"config_kwargs": {"retries":{"max_attempts": 1000, "mode": "adaptive"}}}, + "s3": {"config_kwargs": {"retries": {"max_attempts": 1000, "mode": "adaptive"}}}, } + def get_complete_storage_options(cloud_provider: str, storage_options: Optional[Dict] = {}) -> Dict: if storage_options is None: storage_options = {}