-
Notifications
You must be signed in to change notification settings - Fork 42
Fixing Redis breaking change #89
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
Inserting Hydra Core and Open Parser since Hydrus ported Hydraspec
Adding import to hydra_python_core after hydraspec porting
Backwards incompatibility from Redis 2 to Redis 3, which now only accepts values as bytes, strings or numbers
Changing this test slightly so the "requirements.txt" consists of everything needed to run and it won't fail because of the requirements in the current hydrus master branch.
The goal of Porting the doc writer was so that the agent supposed to depend only on hydra_python_core which is now possible.
shravandoda
left a comment
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 we need doc_maker in hydra_graph. But apart from that it looks good
Use 'hydra_python_core' module in place of 'hydrus.hydraspec'
| import json | ||
| from hydrus.hydraspec import doc_maker | ||
| import hydra_python_core | ||
| from hydra_python_core import doc_maker |
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.
Don't need both these imports. You can either import hydra_python_core and use hydra_python_core.doc_maker or import dic_maker directly. I don't see the reason to do both
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.
You are right. Already fixed and re-based according to @de-sh commit.
Backwards incompatibility from Redis 2 to Redis 3, which now only accepts values as bytes, strings or numbers
Fixes # 86
Checklist
Description
Setting Redis version as 2 because of breaking change in Redis 3
Change logs
Fixed
redis.exceptions.DataError: Invalid input of type: 'dict'. Convert to a byte, string or number first.
(redis_connection.set("EntryPoint", entrypoint_properties)...)
Set Redis version because of backwards incompatibility from Redis 2 to Redis 3, which now only accepts values as bytes, strings or numbers.