From: Harmon Date: Thu, 29 Apr 2021 10:40:05 +0000 (-0500) Subject: Change AsyncStream initialization parameters to be keyword-only X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=36f13982dfbc71ac6273765bc919beca63f76dd2;p=tweepy.git Change AsyncStream initialization parameters to be keyword-only Change max_retries and proxy AsyncStream initialization parameters to be keyword-only --- 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