Skip to content Skip to sidebar Skip to footer

How Do I Async On_status From Tweepy?

The error I'm getting is: RuntimeWarning: coroutine 'StdOutListener.on_status' was never awaited if self.on_status(status) is False: RuntimeWarning: Enable tracemalloc to get the o

Solution 1:

Tweepy doesn't yet have asyncio support. For that, see https://github.com/tweepy/tweepy/issues/732.

Instead, you can use the is_async parameter to run the stream in a separate thread. See https://tweepy.readthedocs.io/en/latest/streaming_how_to.html#async-streaming.

Post a Comment for "How Do I Async On_status From Tweepy?"