Skip to content

Fix DAGRUN with no LOAD or PERSIST #46

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

Merged
merged 1 commit into from
Aug 26, 2020
Merged

Fix DAGRUN with no LOAD or PERSIST #46

merged 1 commit into from
Aug 26, 2020

Conversation

lantiga
Copy link
Contributor

@lantiga lantiga commented Aug 24, 2020

The most recent AI.DAGRUN implementation has become less tolerant with respect to syntax. Specifically, it now returns an error if the command separator |> is not specified after AI.DAGRUN when no LOAD or PERSIST are specified.

This PR makes sure the separator is always added. It also wraps a test that was supposed to fail but up until #449 it wasn't failing.

@lantiga
Copy link
Contributor Author

lantiga commented Aug 24, 2020

As a side-note: tests will be failing until RedisAI/redis-inference-optimization#449 is merged

@lantiga lantiga requested a review from hhsecond August 24, 2020 10:29
@lantiga
Copy link
Contributor Author

lantiga commented Aug 24, 2020

UPDATE: RedisAI/redis-inference-optimization#449 has been merged
/cc @hhsecond

@codecov
Copy link

codecov bot commented Aug 26, 2020

Codecov Report

Merging #46 into master will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #46   +/-   ##
=======================================
  Coverage   97.10%   97.10%           
=======================================
  Files           6        6           
  Lines         656      656           
=======================================
  Hits          637      637           
  Misses         19       19           
Impacted Files Coverage Δ
redisai/client.py 93.58% <ø> (-0.05%) ⬇️
test/test.py 99.70% <100.00%> (+<0.01%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update bae689c...3dc372b. Read the comment docs.

@hhsecond hhsecond merged commit 9acbd90 into master Aug 26, 2020
@hhsecond hhsecond deleted the no-load-persist-dag branch August 26, 2020 07:08
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