Remove Stream.firehose
authorHarmon <Harmon758@gmail.com>
Mon, 28 Dec 2020 12:42:32 +0000 (06:42 -0600)
committerHarmon <Harmon758@gmail.com>
Mon, 28 Dec 2020 12:42:32 +0000 (06:42 -0600)
tweepy/streaming.py

index 455ed8b2d29cec3eecc27c5e33315e8bccc63b59..133c57d4e415e50c8fb2b210da1e3a517c255378 100644 (file)
@@ -417,15 +417,6 @@ class Stream:
 
         self._start(is_async)
 
-    def firehose(self, count=None, is_async=False):
-        self.session.params = {'delimited': 'length'}
-        if self.running:
-            raise TweepError('Stream object already connected!')
-        self.url = '/%s/statuses/firehose.json' % STREAM_VERSION
-        if count:
-            self.url += '&count=%s' % count
-        self._start(is_async)
-
     def retweet(self, is_async=False):
         self.session.params = {'delimited': 'length'}
         if self.running: