You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tinkerpop.apache.org by sp...@apache.org on 2019/09/19 14:56:07 UTC

[tinkerpop] branch TINKERPOP-2279 updated: Added upgrade docs for python graphbinary

This is an automated email from the ASF dual-hosted git repository.

spmallette pushed a commit to branch TINKERPOP-2279
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git


The following commit(s) were added to refs/heads/TINKERPOP-2279 by this push:
     new 644a8f1  Added upgrade docs for python graphbinary
644a8f1 is described below

commit 644a8f1e31cfc69fa1e50e9edfb92c01839f5ebe
Author: Stephen Mallette <sp...@genoprime.com>
AuthorDate: Thu Sep 19 10:55:39 2019 -0400

    Added upgrade docs for python graphbinary
---
 docs/src/upgrade/release-3.4.x.asciidoc | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/docs/src/upgrade/release-3.4.x.asciidoc b/docs/src/upgrade/release-3.4.x.asciidoc
index 8eb5bb1..37e5bde 100644
--- a/docs/src/upgrade/release-3.4.x.asciidoc
+++ b/docs/src/upgrade/release-3.4.x.asciidoc
@@ -29,6 +29,23 @@ Please see the link:https://github.com/apache/tinkerpop/blob/3.4.4/CHANGELOG.asc
 
 === Upgrading for Users
 
+==== Python GraphBinary
+
+There is now support for GraphBinary in Python. As with Java, it remains a working but experimental format that is
+still under evaluation. This new serializer can be used by first ensuring that it is available on the server and then
+configuring the connection as follows:
+
+[source,python]
+----
+from gremlin_python.driver.serializer import GraphBinarySerializersV1
+gremlin_server_url = "ws://172.17.0.2:45940/gremlin"
+remote_conn = DriverRemoteConnection(gremlin_server_url, 'g',
+                                     message_serializer=GraphBinarySerializersV1())
+g = Graph().traversal().withRemote(remote_conn)
+----
+
+link:https://issues.apache.org/jira/browse/TINKERPOP-2279[TINKERPOP-2279]
+
 ==== elementMap() Step
 
 Since graph elements (i.e. `Vertex`, `Edge`, and `VertexProperty`) are returned from remote sources as references