projects
/
tweepy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
252aa2b
)
Change Stream.sample to use keyword-only arguments
author
Harmon
<Harmon758@gmail.com>
Sat, 23 Jan 2021 19:54:24 +0000
(13:54 -0600)
committer
Harmon
<Harmon758@gmail.com>
Sat, 23 Jan 2021 19:54:24 +0000
(13:54 -0600)
tweepy/streaming.py
patch
|
blob
|
blame
|
history
diff --git
a/tweepy/streaming.py
b/tweepy/streaming.py
index 3cd9e4c10c72db3cbdda91897ba1a9557a90b395..937e7e2eec7aea1f45013b9d89c1552f43b380ee 100644
(file)
--- a/
tweepy/streaming.py
+++ b/
tweepy/streaming.py
@@
-258,7
+258,7
@@
class Stream:
else:
self._connect(endpoint, body=body)
- def sample(self,
threaded=False, languages=None, stall_warnings
=False):
+ def sample(self,
*, languages=None, stall_warnings=False, threaded
=False):
if self.running:
raise TweepError('Stream object already connected!')