Spaces:
Paused
Paused
Download gradio-env/Lib/site-packages/fsspec/exceptions.py from dntrplytch/grad-tutorial: direct link, hf CLI and curl.
- Browser
- Download file 331 Bytes
-
https://huggingface.co/spaces/dntrplytch/grad-tutorial/resolve/main/gradio-env/Lib/site-packages/fsspec/exceptions.py
- Command line
-
hf download hf://spaces/dntrplytch/grad-tutorial/gradio-env/Lib/site-packages/fsspec/exceptions.py
-
curl -L -o exceptions.py https://huggingface.co/spaces/dntrplytch/grad-tutorial/resolve/main/gradio-env/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 | |
| """ | |