Commit 818c05c
authored
Fix Client.wait_for (#222)
* Replace if statement with if expression
* Simplify conditional into return statement
* Inline variable that is immediately returned
* Comparison moved to the right
Use set when checking membership of a collection of literals
* Inline variable that is immediately returned
* remove none from dict.get returns none by default
* Replace if statement with if expression
Replace multiple comparisons of same variable with `in` operator
Remove redundant conditional
* Merge nested if conditions
Remove none from dict.get returns none by default
* Lift code into else after jump in control flow, Merge else clause's nested if statement into elif
Remove redundant pass statements
Simplify logical expression
* Inline variable that is immediately returned
* Merge nested if conditions
Inline variable that is immediately returned
* Merge nested if conditions
* Swap if/else branches, Remove unnecessary else after guard condition
* Replace unneeded comprehension with generator
* added fetch_channel to client
* formatting
* remove typehint of User
* Added fetch_follow method
Removed for loop for fetch_channel
* Update README.rst
Added myself....just because
* fix remove_cog
* Fixed remove_cog
* changed from list to set
* Moved fetch_follow to user from client
Fixed black formatting to 120
* Added ChannelInfo class in models
Changed fetch_channel to return the ChannelInfo object
* Removed except from remove_cog
Issue was in unload_module
Missing .items() for callsbacks
Missing .__name__ for comparison
* fixed reload_module
* added created_at to User class
* Routine fix where after task run completion
iterations would set to 0 and run infinitely.
* Add typehint for PartialUser in fetch_follow
* Removed duplicate fetch_channel
Updated docstring fetch_channel
* Changed badges to a property
returns a dict
* change to more obvious wording
* fetch duplicate fetch_channel
update docstring
* added founder to is_subscriber
* Update websocket to fix chatters
Correct some typos
Update badges docstring
Fix eventsub BanData key
* reverted changes to ChannelBanData model
* changed payload key to is_permanent for ChannelBanData
* Added Schedule models
Added user method fetch_schedule
Added associated API calls
Added explicit detail in fetch_channel docstring
* forgot to merge
* Revert "changed payload key to is_permanent for ChannelBanData"
This reverts commit ba16c04.
* Revert "forgot to merge"
This reverts commit 7b16588.
* Revert "Added Schedule models"
This reverts commit ea6f7bf.
* trying to fix my own repo
* add
* Added Schedule models
Added user method fetch_schedule
Added associated API calls
Added explicit detail in fetch_channel docstring
* added back in newlines from formatting
* change to list comp
* black formatting
* change raise to ValueError and move above comp
* changed segment_ids to list
* update docstring
* update docstring
* Changed start_time to datetime object
Internal conversion to RFC3339
Changed utc_offset to int and convert to str later
* adding modify stream to match master
* adding back in schedule
* merge
* Fix for wait_for not removing Finshed future from
self._waiting1 parent dbf0a73 commit 818c05c
3 files changed
+2
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
216 | 216 | | |
217 | 217 | | |
218 | 218 | | |
| 219 | + | |
| 220 | + | |
219 | 221 | | |
220 | 222 | | |
221 | 223 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
662 | 662 | | |
663 | 663 | | |
664 | 664 | | |
665 | | - | |
666 | 665 | | |
667 | 666 | | |
668 | 667 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
728 | 728 | | |
729 | 729 | | |
730 | 730 | | |
731 | | - | |
732 | 731 | | |
733 | 732 | | |
734 | 733 | | |
| |||
784 | 783 | | |
785 | 784 | | |
786 | 785 | | |
787 | | - | |
788 | 786 | | |
789 | 787 | | |
790 | 788 | | |
| |||
0 commit comments