Download lib/python3.12/site-packages/kiwisolver/exceptions.py from parallel-reasoner/env-full: direct link, hf CLI and curl.
- Browser
- Download file 1.24 kB
-
https://huggingface.co/parallel-reasoner/env-full/resolve/b7f3eae63e243d6cdeeb4bf3ea233ae95cf99cc8/lib/python3.12/site-packages/kiwisolver/exceptions.py
- Command line
-
hf download hf://parallel-reasoner/env-full@b7f3eae63e243d6cdeeb4bf3ea233ae95cf99cc8/lib/python3.12/site-packages/kiwisolver/exceptions.py
-
curl -L -o exceptions.py https://huggingface.co/parallel-reasoner/env-full/resolve/b7f3eae63e243d6cdeeb4bf3ea233ae95cf99cc8/lib/python3.12/site-packages/kiwisolver/exceptions.py
1.24 kB
| # -------------------------------------------------------------------------------------- | |
| # Copyright (c) 2023-2024, Nucleic Development Team. | |
| # | |
| # Distributed under the terms of the Modified BSD License. | |
| # | |
| # The full license is in the file LICENSE, distributed with this software. | |
| # -------------------------------------------------------------------------------------- | |
| """Kiwi exceptions. | |
| Imported by the kiwisolver C extension. | |
| """ | |
| class BadRequiredStrength(Exception): | |
| pass | |
| class DuplicateConstraint(Exception): | |
| __slots__ = ("constraint",) | |
| def __init__(self, constraint): | |
| self.constraint = constraint | |
| class DuplicateEditVariable(Exception): | |
| __slots__ = ("edit_variable",) | |
| def __init__(self, edit_variable): | |
| self.edit_variable = edit_variable | |
| class UnknownConstraint(Exception): | |
| __slots__ = ("constraint",) | |
| def __init__(self, constraint): | |
| self.constraint = constraint | |
| class UnknownEditVariable(Exception): | |
| __slots__ = ("edit_variable",) | |
| def __init__(self, edit_variable): | |
| self.edit_variable = edit_variable | |
| class UnsatisfiableConstraint(Exception): | |
| __slots__ = ("constraint",) | |
| def __init__(self, constraint): | |
| self.constraint = constraint | |