-
Notifications
You must be signed in to change notification settings - Fork 151
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
KeyError: 'range' #216
Comments
There was a change made in Apache TinkerPop 3.6. In that release of the Python client all the names of Gremlin steps that conflict with Python reserved words were removed and replaced with ones of the form |
The version of the client can be checked using something like this:
|
I am getting the same error. Client version 3.6.0 |
it looks like this update get you pass this error
|
I'm not sure how to bypass this error. Temporarily I'm doing this (very bad) practice which seems to work. Highly NOT recommended.
|
In the
__init_statics()
method of GremlinUtils in neptune_python_utils/gremlin_utils.py, the code:amazon-neptune-tools/neptune-python-utils/neptune_python_utils/gremlin_utils.py
Line 41 in a1d67b1
leads to a KeyError if the global doesn't already exist. I believe this should be changed to:
which has patched the problem in my app's version of neptune_python_utils.
The text was updated successfully, but these errors were encountered: