You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've tried a Gremlin query against a standard Titan graph (the Graph of Gods) to fetch the indexed keys:
from bulbs.titan import Graph
g = Graph()
g.gremlin.query('g.getIndexedKeys(Vertex.class)')
It works but I get a "TypeError: string indices must be integers" exception when I loop over the results, while I should get four results ("reason", "age", "name", "place"). If I run a g.V query (g.gremlin.query('g.V')) and loop over the results everything works correctly.
The text was updated successfully, but these errors were encountered:
I've tried a Gremlin query against a standard Titan graph (the Graph of Gods) to fetch the indexed keys:
from bulbs.titan import Graph
g = Graph()
g.gremlin.query('g.getIndexedKeys(Vertex.class)')
It works but I get a "TypeError: string indices must be integers" exception when I loop over the results, while I should get four results ("reason", "age", "name", "place"). If I run a g.V query (g.gremlin.query('g.V')) and loop over the results everything works correctly.
The text was updated successfully, but these errors were encountered: