From 4a52a71956a8d46fcb7294ac71734504bb09bcc2 Mon Sep 17 00:00:00 2001 From: S. Solomon Darnell Date: Fri, 28 Mar 2025 21:52:21 -0500 Subject: two version of R2R are here --- .../python3.12/site-packages/pydash/exceptions.py | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .venv/lib/python3.12/site-packages/pydash/exceptions.py (limited to '.venv/lib/python3.12/site-packages/pydash/exceptions.py') diff --git a/.venv/lib/python3.12/site-packages/pydash/exceptions.py b/.venv/lib/python3.12/site-packages/pydash/exceptions.py new file mode 100644 index 00000000..e4d11ec9 --- /dev/null +++ b/.venv/lib/python3.12/site-packages/pydash/exceptions.py @@ -0,0 +1,22 @@ +""" +Exception classes. + +.. versionadded:: 1.0.0 +""" + +from __future__ import annotations + + +__all__ = ("InvalidMethod",) + + +# NOTE: This needs to subclass AttributeError due to compatibility with typing.Protocol and +# runtime_checkable. See https://github.com/dgilland/pydash/issues/165 +class InvalidMethod(AttributeError): + """ + Raised when an invalid pydash method is invoked through :func:`pydash.chaining.chain`. + + .. versionadded:: 1.0.0 + """ + + pass -- cgit v1.2.3