-
Notifications
You must be signed in to change notification settings - Fork 13
SCRIPTEXECUTE support #68
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
Conversation
circleci docker build and publish build instructions
Codecov Report
@@ Coverage Diff @@
## master #68 +/- ##
==========================================
+ Coverage 96.90% 97.40% +0.49%
==========================================
Files 8 8
Lines 776 848 +72
==========================================
+ Hits 752 826 +74
+ Misses 24 22 -2
Continue to review full report at Codecov.
|
removing second poetry build call, since they can be done in one
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.
Nice work! (specially for a first task in RedisAI...), please follow the comments. Note that you should indicate that scriptrun
is deprecated by using the suitable decorator (as we do in modelrun
).
Regarding the tests, I think that there are many redundant checks that are not specific to the redisai-py client, and that we don't need to copy those from the flow tests. On the other hand, we may want to add some tests of running scripts that are using Redis commands (we can discuss it further on slack...)
This pull request fixes 2 alerts when merging d17b278 into 3a7d3a6 - view on LGTM.com fixed alerts:
|
This pull request fixes 2 alerts when merging a2e4b65 into 3a7d3a6 - view on LGTM.com fixed alerts:
|
This pull request fixes 2 alerts when merging 24537c8 into 3a7d3a6 - view on LGTM.com fixed alerts:
|
Change the function variable in scriptrun function from AnyStr to str
Kudos, SonarCloud Quality Gate passed!
|
This pull request fixes 2 alerts when merging 53b1106 into 3a7d3a6 - view on LGTM.com fixed alerts:
|
8d9807b
to
918766e
Compare
…ptexecute_support # Conflicts: # test/test.py
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.
Nice work! Tell me if you have any questions about the comments...
redisai/dag.py
Outdated
from redisai.postprocessor import Processor | ||
from redisai import command_builder as builder | ||
|
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.
Why the changes here?
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.
I don't think it's mine :0
I saw here some of Chayim's commits
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.
Same as above :)
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.
I see here some functions that use builder
. The DagTestCase
does not pass without this import
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.
Nice! Almost ready, just some few small comments
redisai/pipeline.py
Outdated
|
||
from redisai import command_builder as builder | ||
import redis |
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.
Why there is a diff here?
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.
PipelineTest
does not pass without it
Kudos, SonarCloud Quality Gate passed!
|
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.
Nice work!
No description provided.