Spaces:
Runtime error
Runtime error
Download myenv/lib/python3.11/site-packages/box/exceptions.py from jesshewyz/quotation_chatbot: direct link, hf CLI and curl.
- Browser
- Download file 446 Bytes
-
https://huggingface.co/spaces/jesshewyz/quotation_chatbot/resolve/main/myenv/lib/python3.11/site-packages/box/exceptions.py
- Command line
-
hf download hf://spaces/jesshewyz/quotation_chatbot/myenv/lib/python3.11/site-packages/box/exceptions.py
-
curl -L -o exceptions.py https://huggingface.co/spaces/jesshewyz/quotation_chatbot/resolve/main/myenv/lib/python3.11/site-packages/box/exceptions.py
446 Bytes
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| class BoxError(Exception): | |
| """Non standard dictionary exceptions""" | |
| class BoxKeyError(BoxError, KeyError, AttributeError): | |
| """Key does not exist""" | |
| class BoxTypeError(BoxError, TypeError): | |
| """Cannot handle that instance's type""" | |
| class BoxValueError(BoxError, ValueError): | |
| """Issue doing something with that value""" | |
| class BoxWarning(UserWarning): | |
| """Here be dragons""" | |