projects
/
tweepy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c8cf06a
)
Check for async_lru when importing asynchronous subpackage
author
Harmon
<Harmon758@gmail.com>
Wed, 18 May 2022 04:18:25 +0000
(23:18 -0500)
committer
Harmon
<Harmon758@gmail.com>
Wed, 18 May 2022 04:21:43 +0000
(23:21 -0500)
tweepy/asynchronous/__init__.py
patch
|
blob
|
blame
|
history
diff --git
a/tweepy/asynchronous/__init__.py
b/tweepy/asynchronous/__init__.py
index 22c79b162d66339b36a259832baf69a28ca2ca75..ff2800245b4aed502762f2d0c308e18e6af5e4bf 100644
(file)
--- a/
tweepy/asynchronous/__init__.py
+++ b/
tweepy/asynchronous/__init__.py
@@
-10,11
+10,13
@@
Asynchronous interfaces with the Twitter API
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