Gremlin Python in Web Application
问题 I have a python flask web app, which is querying a Janus graph DB using gremlin_python . One basic question is the correct way to initialize the graph traversal object. Can I initialize my traversal g = traversal().withRemote(DriverRemoteConnection(...) and persist the traversal variable g across requests? (All requests are against the same graph. I tried this and started getting tornado.iostream.StreamClosedError intermittently. Second option is the create a traversal per request. I do not