Change AsyncStream.filter parameters to be keyword-only
authorHarmon <Harmon758@gmail.com>
Thu, 29 Apr 2021 10:41:42 +0000 (05:41 -0500)
committerHarmon <Harmon758@gmail.com>
Thu, 29 Apr 2021 10:41:42 +0000 (05:41 -0500)
tweepy/asynchronous/streaming.py

index 8d9ae595df1e226fca7918f29f0cf8ae3e30a328..b4de4b40cd3aa4a11571d34a39076dab22aa8ada 100644 (file)
@@ -144,7 +144,7 @@ class AsyncStream:
             await self.session.close()
             await self.on_disconnect()
 
-    async def filter(self, follow=None, track=None, locations=None,
+    async def filter(self, *, follow=None, track=None, locations=None,
                      filter_level=None, languages=None, stall_warnings=False):
         """|coroutine|