-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Add support for LCS #1866
Add support for LCS #1866
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1866 +/- ##
==========================================
- Coverage 93.60% 93.03% -0.58%
==========================================
Files 76 76
Lines 16214 16446 +232
==========================================
+ Hits 15177 15300 +123
- Misses 1037 1146 +109
Continue to review full report at Codecov.
|
redis/commands/core.py
Outdated
@@ -1866,6 +1866,32 @@ def unlink(self, *names): | |||
""" | |||
return self.execute_command("UNLINK", *names) | |||
|
|||
def lcs(self, key1, key2, len=False, idx=False, minmatchlen=0, withmatchlen=False): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we add type hints?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's start getting type hints into our commands...
…IALSCAN (redis#1847) Co-authored-by: Chayim I. Kirshen <c@kirshen.com>
This moves packaging to >=20.4 rather than the latest.
@dvora-h Can you reseed this or make a new PR on master. 35 changes is... too many. |
Done in #1924 |
Pull Request check-list
Please make sure to review and check all of these items:
$ tox
pass with this change (including linting)?NOTE: these things are not required to open a PR and can be done
afterwards / while the PR is open.
Description of change
closes #1810