Created
December 20, 2019 17:08
-
-
Save juliensimon/6fbe10cd9f532eb06908afecac6c981a to your computer and use it in GitHub Desktop.
Connecting to Neptune
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What about authentication? I am not able to figure out authentication