# Tweepy
# Copyright 2009-2021 Joshua Roesslein
# See LICENSE for details.

"""
Tweepy.asynchronoous

Asynchronous interfaces with the Twitter API
"""

try:
    import aiohttp
except ModuleNotFoundError:
    from tweepy.errors import TweepyException
    raise TweepyException("tweepy.asynchronous requires aiohttp to be installed")

from tweepy.asynchronous.streaming import AsyncStream

# Tweepy
# Copyright 2009-2021 Joshua Roesslein
# See LICENSE for details.

"""
Tweepy.asynchronoous

Asynchronous interfaces with the Twitter API
"""

try:
    import aiohttp
    import oauthlib
except ModuleNotFoundError:
    from tweepy.errors import TweepyException
    raise TweepyException(
        "tweepy.asynchronous requires aiohttp and oauthlib to be installed"
    )

from tweepy.asynchronous.streaming import AsyncStream

Check oauthlib installation when importing asynchronous subpackage
Check oauthlib installation when importing asynchronous subpackage

