-
-
Notifications
You must be signed in to change notification settings - Fork 248
Keep connection open and lock to prevent duplicate requests #213
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
rytilahti
merged 32 commits into
python-kasa:master
from
bdraco:keep_connection_open_add_lock
Sep 24, 2021
Merged
Changes from all commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
3eaa7e2
Keep connection open and lock to prevent duplicate requests
bdraco 67b40ec
option to not update children
bdraco d85aa01
tweaks
bdraco 8fb60a7
typing
bdraco b51a655
tweaks
bdraco 42bf715
run tests in the same event loop
bdraco ef8259e
memorize model
bdraco c116d46
Update kasa/protocol.py
bdraco 56b5883
Update kasa/protocol.py
bdraco 1d9cb92
Update kasa/protocol.py
bdraco fbb7268
Update kasa/protocol.py
bdraco 37d0745
dry
bdraco 5ada950
tweaks
bdraco fd2f388
warn when the event loop gets switched out from under us
bdraco 5b9616d
raise on unable to connect multiple times
bdraco e617d16
fix patch target
bdraco 7a4df1a
tweaks
bdraco 07438d2
isrot
bdraco 0d1c2a3
reconnect test
bdraco 58fda47
prune
bdraco c4c533e
fix mocking
bdraco 4a9279b
fix mocking
bdraco a2b38b4
fix test under python 3.7
bdraco 053ccaa
fix test under python 3.7
bdraco 3c453cf
less patching
bdraco 2ba83c0
isort
bdraco 0d690f6
use mocker to patch
bdraco 22ba405
disable on old python since mocking doesnt work
bdraco 4b369c7
avoid disconnect/reconnect cycles
bdraco fc2b637
isort
bdraco e11f813
Fix hue validation
bdraco a4b92b2
Fix latitude_i/longitude_i units
bdraco File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.