Skip to content

Instantly share code, notes, and snippets.

@davebshow
Created August 15, 2016 18:05
Show Gist options
  • Save davebshow/8eed6731a8bcd2d5931afd7d0a951610 to your computer and use it in GitHub Desktop.
Save davebshow/8eed6731a8bcd2d5931afd7d0a951610 to your computer and use it in GitHub Desktop.
from gremlin_python.structure import RemoteGraph
from gremlin_python.driver.rest_remote_connection import RESTRemoteConnection
rc = RESTRemoteConnection('ws://localhost:8182', 'g')
graph = RemoteGraph(rc)
g = graph.traversal()
for x in g.V():
print(x)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment