Questions tagged [neptune-python-utils]
5 questions
2
votes
1 answer
Retrieve or store results of Gremlin queries within AWS Neptune ML, in IPython Notebook
I have a graph database stored on AWS Neptune, which I need to query with gremlin within a Jupyter IPython notebook. I am applying the graph-neural-networks functionalities offered by Neptune ML for a link prediction task. Specifically, I want to…

Luca P.
- 63
- 7
1
vote
2 answers
Amazon Neptune on submitting query: AttributeError: 'str' object has no attribute 'source_instructions'
I have the following code running on AWS lambda, but getting the following error.
Error
[ERROR] AttributeError: 'str' object has no attribute 'source_instructions'
Traceback (most recent call last):
File…

user1187968
- 7,154
- 16
- 81
- 152
1
vote
0 answers
Python/Neptune/Gremlin: "'list' object has no attribute 'next'"
I trying to mirror the following gremlin code in Python to do pagination.
gremlin> t = g.V().hasLabel('person');[]
gremlin> t.next(2)
==>v[1]
==>v[2]
gremlin> t.next(2)
==>v[4]
==>v[6]
Here are the Python code
from…

user1187968
- 7,154
- 16
- 81
- 152
0
votes
3 answers
ClientConnectorError: Cannot connect to host :8182 ssl:default [Connect call failed ('', 8182)]
Just tried below mentioned code to check my Amazon Neptune service, it's throwing this error:
ClientConnectorError: Cannot connect to host :8182 ssl:default [Connect call failed ('', 8182)]
from __future__ import print_function …

Lakshminarayanan
- 320
- 4
- 18
0
votes
1 answer
How to convert Gremlin query results into Pandas/Python dataframes?
I want to prettify my results from Gremlin queries by converting them into dataframes.
Gremlin outputs results that (at least to my untrained eyes) look like the Json format. As an example I'll borrow the answer to one of my previous questions that…

gaspanic
- 249
- 1
- 12