1 from .oauth1_auth import OAuth1
2 from .oauth1_session import OAuth1Session
3 from .oauth2_auth import OAuth2
4 from .oauth2_session import OAuth2Session, TokenUpdated
9 if requests.__version__ < '2.0.0':
10 msg = ('You are using requests version %s, which is older than '
11 'requests-oauthlib expects, please upgrade to 2.0.0 or later.')
12 raise Warning(msg % requests.__version__)
16 from logging import NullHandler
18 class NullHandler(logging.Handler):
19 def emit(self, record):
22 logging.getLogger('requests_oauthlib').addHandler(NullHandler())