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

Async: added 'blocking' argument to call lock method #2454

Merged
merged 2 commits into from Dec 1, 2022

Conversation

Sibuken
Copy link
Contributor

@Sibuken Sibuken commented Nov 11, 2022

Pull Request check-list

Please make sure to review and check all of these items:

  • Does $ tox pass with this change (including linting)?
  • Do the CI tests pass with this change (enable it first in your forked repo and wait for the github action build to finish)?
  • Is the new or changed code fully tested?
  • Is a documentation update included (if this change modifies existing APIs, or introduces new ones)?
  • Is there an example added to the examples folder (if applicable)?
  • Was the change added to CHANGES file?

NOTE: these things are not required to open a PR and can be done
afterwards / while the PR is open.

Description of change

This PR fix this issue - #2453

Added "blocking" argument to method lock which initializes Lock in RedisCluster and Redis.

@codecov-commenter
Copy link

codecov-commenter commented Nov 11, 2022

Codecov Report

Base: 92.20% // Head: 92.20% // Decreases project coverage by -0.00% ⚠️

Coverage data is based on head (48289d5) compared to base (dfe2152).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2454      +/-   ##
==========================================
- Coverage   92.20%   92.20%   -0.01%     
==========================================
  Files         113      113              
  Lines       29239    29245       +6     
==========================================
+ Hits        26960    26965       +5     
- Misses       2279     2280       +1     
Impacted Files Coverage Δ
redis/asyncio/client.py 92.51% <ø> (ø)
redis/asyncio/cluster.py 91.68% <ø> (ø)
tests/test_asyncio/test_lock.py 100.00% <100.00%> (ø)
tests/test_asyncio/test_search.py 98.26% <0.00%> (-0.35%) ⬇️
tests/test_cluster.py 96.86% <0.00%> (ø)
redis/asyncio/connection.py 86.57% <0.00%> (+0.12%) ⬆️

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.

@chayim chayim requested a review from dvora-h November 15, 2022 12:52
@dvora-h dvora-h changed the title added 'blocking' argument to call lock method Async: added 'blocking' argument to call lock method Nov 21, 2022
@chayim chayim added the bug Bug label Dec 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants