1
0
Fork 0
mirror of https://github.com/morpheus65535/bazarr synced 2024-12-26 09:37:25 +00:00
bazarr/libs/requests_oauthlib/__init__.py
2018-09-16 20:33:04 -04:00

16 lines
517 B
Python

import logging
from .oauth1_auth import OAuth1
from .oauth1_session import OAuth1Session
from .oauth2_auth import OAuth2
from .oauth2_session import OAuth2Session, TokenUpdated
__version__ = '1.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())