projects
/
tweepy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61cb893
)
Change AsyncStream initialization parameters to be keyword-only
author
Harmon
<Harmon758@gmail.com>
Thu, 29 Apr 2021 10:40:05 +0000
(
05:40
-0500)
committer
Harmon
<Harmon758@gmail.com>
Thu, 29 Apr 2021 10:40:36 +0000
(
05:40
-0500)
Change max_retries and proxy AsyncStream initialization parameters to be keyword-only
tweepy/asynchronous/streaming.py
patch
|
blob
|
blame
|
history
diff --git
a/tweepy/asynchronous/streaming.py
b/tweepy/asynchronous/streaming.py
index 7a963df201b2db02e09599600289e3027fa13416..8d9ae595df1e226fca7918f29f0cf8ae3e30a328 100644
(file)
--- 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