Skip to content

Explicitly specify GraphSON V3 serializer when creating Gremlin connection #306

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
michaelnchin opened this issue Jun 4, 2022 · 0 comments · Fixed by #356
Closed

Explicitly specify GraphSON V3 serializer when creating Gremlin connection #306

michaelnchin opened this issue Jun 4, 2022 · 0 comments · Fixed by #356
Labels

Comments

@michaelnchin
Copy link
Member

Is your feature request related to a problem? Please describe.

As of gremlinpython==3.6.x, the Gremlin Python client currently uses GraphSON V3 serializer as the default encoding format when creating a new connection: https://github.com/apache/tinkerpop/blob/42cefe106a3375aab497cbfc477178fa83d08325/gremlin-python/src/main/python/gremlin_python/driver/client.py#L55

In the future, new versions of Gremlin Python (and all other Gremlin clients) are planned to move over to GraphBinary as the new default serializer.

To ensure compatibility, we should consider specifying GraphSON V3 as the desired serializer when creating the gremlin connection here, via the message_serializer argument.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Resolved
Development

Successfully merging a pull request may close this issue.

2 participants