Buckets:
ktongue/OnedriveENISE / ENISE1 /hf_env /lib /python3.14 /site-packages /fsspec /tests /abstract /pipe.py
| import pytest | |
| class AbstractPipeTests: | |
| def test_pipe_exclusive(self, fs, fs_target): | |
| fs.pipe_file(fs_target, b"data") | |
| assert fs.cat_file(fs_target) == b"data" | |
| with pytest.raises(FileExistsError): | |
| fs.pipe_file(fs_target, b"data", mode="create") | |
| fs.pipe_file(fs_target, b"new data", mode="overwrite") | |
| assert fs.cat_file(fs_target) == b"new data" | |
Xet Storage Details
- Size:
- 402 Bytes
- Xet hash:
- d8d7a2d605996cdd7eac6a82f2669ae57c31fecdbf8b9c1d59fe3d0da1fb80f9
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.