heljoyLiu commented on a change in pull request #1264: gremlin-python: add
session mode client
URL: https://github.com/apache/tinkerpop/pull/1264#discussion_r402041901
##########
File path: gremlin-python/src/main/jython/gremlin_python/driver/serializer.py
##########
@@ -53,6 +53,22 @@ def eval(self, args):
return args
+class Session(Processor):
+
+ def authentication(self, args):
+ return args
+
+ def eval(self, args):
+ return args
+
+ def close(self, args):
+ # close session, 'gremlin' in args as tips and not be executed actually
+ gremlin = args.get('gremlin')
+ if not gremlin:
+ args['gremlin'] = 'session.close()'
Review comment:
en. I will remove this like PR in .Net
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services