From 68800a1e5e866a128abc6c75fc1866fda3dbe5de Mon Sep 17 00:00:00 2001 From: Harmon Date: Thu, 29 Apr 2021 05:42:13 -0500 Subject: [PATCH] Change AsyncStream.sample parameters to be keyword-only --- tweepy/asynchronous/streaming.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tweepy/asynchronous/streaming.py b/tweepy/asynchronous/streaming.py index b4de4b4..0aee94e 100644 --- a/tweepy/asynchronous/streaming.py +++ b/tweepy/asynchronous/streaming.py @@ -234,7 +234,7 @@ class AsyncStream: ) return self.task - async def sample(self, languages=None, stall_warnings=False): + async def sample(self, *, languages=None, stall_warnings=False): """|coroutine| Sample realtime Tweets -- 2.25.1