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 --- .../site-packages/requests_oauthlib/__init__.py | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .venv/lib/python3.12/site-packages/requests_oauthlib/__init__.py (limited to '.venv/lib/python3.12/site-packages/requests_oauthlib/__init__.py') diff --git a/.venv/lib/python3.12/site-packages/requests_oauthlib/__init__.py b/.venv/lib/python3.12/site-packages/requests_oauthlib/__init__.py new file mode 100644 index 00000000..865d72fb --- /dev/null +++ b/.venv/lib/python3.12/site-packages/requests_oauthlib/__init__.py @@ -0,0 +1,20 @@ +# ruff: noqa: F401 +import logging + +from .oauth1_auth import OAuth1 +from .oauth1_session import OAuth1Session +from .oauth2_auth import OAuth2 +from .oauth2_session import OAuth2Session, TokenUpdated + +__version__ = "2.0.0" + +import requests + +if requests.__version__ < "2.0.0": + msg = ( + "You are using requests version %s, which is older than " + "requests-oauthlib expects, please upgrade to 2.0.0 or later." + ) + raise Warning(msg % requests.__version__) + +logging.getLogger("requests_oauthlib").addHandler(logging.NullHandler()) -- cgit v1.2.3