Skip to content
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

feat: add a retry_bluetooth_connection_error decorator #53

Merged
merged 1 commit into from
Oct 15, 2022

Conversation

bdraco
Copy link
Member

@bdraco bdraco commented Oct 15, 2022

The retry_bluetooth_connection_error decorator to can be use to wrap bleak operations to auto retry them on a bluetooth connection failure

The retry_bluetooth_connection_error decorator to can
be use to wrap bleak operations to auto retry them on
a bluetooth connection failure
@codecov
Copy link

codecov bot commented Oct 15, 2022

Codecov Report

Base: 82.80% // Head: 84.81% // Increases project coverage by +2.01% 🎉

Coverage data is based on head (38fa8e5) compared to base (9baafa5).
Patch coverage: 87.09% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #53      +/-   ##
==========================================
+ Coverage   82.80%   84.81%   +2.01%     
==========================================
  Files           2        2              
  Lines         250      270      +20     
  Branches       62       63       +1     
==========================================
+ Hits          207      229      +22     
+ Misses         32       30       -2     
  Partials       11       11              
Impacted Files Coverage Δ
src/bleak_retry_connector/__init__.py 87.25% <87.09%> (+1.96%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@bdraco bdraco marked this pull request as ready for review October 15, 2022 22:25
@bdraco bdraco merged commit 8bb706d into main Oct 15, 2022
@bdraco bdraco deleted the retry_bluetooth_connection_error branch October 15, 2022 22:25
@elupus
Copy link

elupus commented Oct 15, 2022

Have you looked at https://tenacity.readthedocs.io/?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants