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

index fd57414e327405d589181624a459a10a72dc419d..9ff3746ec2f645718c12b023b1806dfdc6b226b2 100644 (file)
@@ -855,6 +855,11 @@ class StreamingClient(BaseClient, 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