Add Raises section to Stream.sample documentation
authorHarmon <Harmon758@gmail.com>
Fri, 20 May 2022 10:56:51 +0000 (05:56 -0500)
committerHarmon <Harmon758@gmail.com>
Fri, 20 May 2022 10:56:51 +0000 (05:56 -0500)
tweepy/streaming.py

index 8ccff2370f93382c28361fdf0a0c922e17b5a213..fff0b532696f1dc06aabd585f716fc086fe671e5 100644 (file)
@@ -386,6 +386,11 @@ class Stream(BaseStream):
         threaded : bool
             Whether or not to use a thread to run the stream
 
+        Raises
+        ------
+        TweepyException
+            When the stream is already connected
+
         Returns
         -------
         threading.Thread | None