From 36f13982dfbc71ac6273765bc919beca63f76dd2 Mon Sep 17 00:00:00 2001 From: Harmon Date: Thu, 29 Apr 2021 05:40:05 -0500 Subject: [PATCH] Change AsyncStream initialization parameters to be keyword-only Change max_retries and proxy AsyncStream initialization 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 7a963df..8d9ae59 100644 --- a/tweepy/asynchronous/streaming.py +++ b/tweepy/asynchronous/streaming.py @@ -48,7 +48,7 @@ class AsyncStream: """ def __init__(self, consumer_key, consumer_secret, access_token, - access_token_secret, max_retries=inf, proxy=None): + access_token_secret, *, max_retries=inf, proxy=None): self.consumer_key = consumer_key self.consumer_secret = consumer_secret self.access_token = access_token -- 2.25.1