Skip to content

Instantly share code, notes, and snippets.

@juliensimon
Created December 20, 2019 17:08
Show Gist options
  • Save juliensimon/6fbe10cd9f532eb06908afecac6c981a to your computer and use it in GitHub Desktop.
Save juliensimon/6fbe10cd9f532eb06908afecac6c981a to your computer and use it in GitHub Desktop.
Connecting to Neptune
from gremlin_python import statics
from gremlin_python.structure.graph import Graph
from gremlin_python.process.graph_traversal import __
from gremlin_python.process.strategies import *
from gremlin_python.driver.driver_remote_connection import DriverRemoteConnection
graph = Graph()
remoteConn = DriverRemoteConnection('ws://ENDPOINT:PORT/gremlin','g')
g = graph.traversal().withRemote(remoteConn)
@vivekgoyal-projects
Copy link

What about authentication? I am not able to figure out authentication

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment