From: Harmon Date: Thu, 29 Apr 2021 10:42:13 +0000 (-0500) Subject: Change AsyncStream.sample parameters to be keyword-only X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=68800a1e5e866a128abc6c75fc1866fda3dbe5de;p=tweepy.git Change AsyncStream.sample parameters to be keyword-only --- 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