Download .venv/Lib/site-packages/fsspec/exceptions.py from DrDavis/PythonProject1: direct link, hf CLI and curl.
- Browser
- Download file 331 Bytes
-
https://huggingface.co/DrDavis/PythonProject1/resolve/main/.venv/Lib/site-packages/fsspec/exceptions.py
- Command line
-
hf download hf://DrDavis/PythonProject1/.venv/Lib/site-packages/fsspec/exceptions.py
-
curl -L -o exceptions.py https://huggingface.co/DrDavis/PythonProject1/resolve/main/.venv/Lib/site-packages/fsspec/exceptions.py
331 Bytes
| """ | |
| fsspec user-defined exception classes | |
| """ | |
| import asyncio | |
| class BlocksizeMismatchError(ValueError): | |
| """ | |
| Raised when a cached file is opened with a different blocksize than it was | |
| written with | |
| """ | |
| class FSTimeoutError(asyncio.TimeoutError): | |
| """ | |
| Raised when a fsspec function timed out occurs | |
| """ | |