Hi there - I have been using the 3.5.1 Gremlin Python client with Neptune regularly. We also just moved the graph-notebook project up to that same Python client level. There are a few things to be aware of.
- If you use the client inside a Jupyter Notebook and create your own connections, you will need to create the DriverRemoteConnection as shown below.
- The 3.5.x client no longer uses Tornado. It uses AIO HTTP. This solves a lot of issues we have had in the past with the Gremlin Python client and Jupyter's event loop. As part of your SigV4 Signing, if you call any Tornado methods, just use the equivalent ones from Requests/AIO HTTP instead.
connection = DriverRemoteConnection(endpoint,'g',
transport_factory=lambda:AiohttpTransport(call_from_event_loop=True))
Happy to help more if you have any follow up questions.
Cheers,
Kelvin