
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
from tweepy.asynchronous.client import AsyncClient


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

from tweepy.asynchronous.streaming import AsyncStream
from tweepy.asynchronous.client import AsyncClient

Check for async_lru when importing asynchronous subpackage
Check for async_lru when importing asynchronous subpackage


  
  try:
      import aiohttp
+     import async_lru
      import oauthlib
  except ModuleNotFoundError:
      from tweepy.errors import TweepyException
      raise TweepyException(
-         "tweepy.asynchronous requires aiohttp and oauthlib to be installed"
+         "tweepy.asynchronous requires aiohttp, async_lru, and oauthlib to be "
+         "installed"
      )
  
  from tweepy.asynchronous.streaming import AsyncStream
  from tweepy.asynchronous.client import AsyncClient
  
Check for async_lru when importing asynchronous subpackage
## Code Before:

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
from tweepy.asynchronous.client import AsyncClient

## Instruction:
Check for async_lru when importing asynchronous subpackage
## Code After:

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

from tweepy.asynchronous.streaming import AsyncStream
from tweepy.asynchronous.client import AsyncClient
