Skip to content
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

g.getIndexedKeys on Titan fails #152

Open
nvitucci opened this issue Dec 11, 2014 · 0 comments
Open

g.getIndexedKeys on Titan fails #152

nvitucci opened this issue Dec 11, 2014 · 0 comments

Comments

@nvitucci
Copy link

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.

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

No branches or pull requests

1 participant