Skip to content

Commit

Permalink
Add Raises section to StreamingClient.sample documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Harmon758 committed May 20, 2022
1 parent 18c825f commit 59fc7a2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tweepy/streaming.py
Original file line number Diff line number Diff line change
Expand Up @@ -855,6 +855,11 @@ def sample(self, *, threaded=False, **params):
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
Expand Down

0 comments on commit 59fc7a2

Please sign in to comment.