Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
polinaeterna committed Jul 8, 2024
1 parent 18e9c4e commit 1072d91
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 @@ -749,9 +749,9 @@ def readline(f: io.RawIOBase):
COMPRESSION_EXTENSION_TO_PROTOCOL = {
# single file compression
**{fs_class.extension.lstrip("."): fs_class.protocol for fs_class in COMPRESSION_FILESYSTEMS},
"zstd": "zstd", # in addition to `zst`, see ZstdFileSystem.extension
# archive compression
"zip": "zip",
"zstd": "zstd",
}
SINGLE_FILE_COMPRESSION_EXTENSION_TO_PROTOCOL = {
fs_class.extension.lstrip("."): fs_class.protocol for fs_class in COMPRESSION_FILESYSTEMS
Expand Down

0 comments on commit 1072d91

Please sign in to comment.