gremlinclient
gremlinclient copied to clipboard
A Python client for TP3 Gremlin Server for Tornado, Trollius, or Asyncio
https://github.com/davebshow/gremlinclient/blob/445677732400eab0d1d8a1c6006981a26527b0e2/gremlinclient/connection.py#L319 If the underlying WebSocket response message is already decoded, this call breaks. Ideally, there should be a check to accommodate this. Maybe assume already decoded if this line throws?
The example script on the home page returns tornado.httpclient.HTTPError: HTTP 400: Bad Request With the following on the server: titan_1 | 185142 [gremlin-server-worker-1] WARN org.apache.tinkerpop.gremlin.server.handler.HttpGremlinEndpointHandler - Invalid request - responding...
It took me a long time to realize to do this: ``` @gen.coroutine def submit(gremlinServerURI, traversalString): response = yield submit(gremlinServerURI, traversalString) while True: result = yield response.read() if result is...