-
Notifications
You must be signed in to change notification settings - Fork 13
Add dagexecute support #69
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
…now deprecated) and AI.MODELSTORE (AI.MODELSET is now deprecated).
Codecov Report
@@ Coverage Diff @@
## master #69 +/- ##
==========================================
- Coverage 97.40% 95.39% -2.01%
==========================================
Files 8 8
Lines 848 826 -22
==========================================
- Hits 826 788 -38
- Misses 22 38 +16
Continue to review full report at Codecov.
|
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.
Looks good! There is an empty file called test-requirments.txt
- remove it. Tests are good, I would add one more complex test of using Redis commands in a script within a DAG.
redisai/dag.py
Outdated
self.result_processors = [] | ||
self.enable_postprocess = postprocess | ||
self.enable_postprocess = True | ||
if load is None and persist is None and routing is None: |
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.
Actually, we are not backward compatible if we put this validation here (as AI.DAGRUN is allowed without any of these args). So this check should be moved to the execute
method.
…_DAGEXECUTE_support # Conflicts: # pyproject.toml
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.
Great job on the backward compatibility support! I Added some minor suggestions for clarifying the error messages. Last thing, please add a test for DAG with SCRIPEXECUTE that uses Redis commands.
Kudos, SonarCloud Quality Gate passed!
|
No description provided.