Skip to content

Commit

Permalink
Merge branch 'main' into feat/add-support-encryption
Browse files Browse the repository at this point in the history
  • Loading branch information
bhimrazy authored Jul 18, 2024
2 parents 6500f56 + 44b8a40 commit 07a0b6e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/litdata/streaming/resolver.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ def _assert_dir_is_empty(output_dir: Dir, append: bool = False, overwrite: bool
obj = parse.urlparse(output_dir.url)

if obj.scheme != "s3":
raise ValueError(f"The provided folder should start with s3://. Found {output_dir.path}.")
raise ValueError(f"The provided folder should start with s3://. Found {output_dir.url}.")

s3 = boto3.client("s3")

Expand Down Expand Up @@ -283,7 +283,7 @@ def _assert_dir_has_index_file(
obj = parse.urlparse(output_dir.url)

if obj.scheme != "s3":
raise ValueError(f"The provided folder should start with s3://. Found {output_dir.path}.")
raise ValueError(f"The provided folder should start with s3://. Found {output_dir.url}.")

s3 = boto3.client("s3")

Expand Down

0 comments on commit 07a0b6e

Please sign in to comment.