tinkerpop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From spmalle...@apache.org
Subject [tinkerpop] branch master updated: Added Bindings change for python to upgrade notes CTR
Date Thu, 03 Jan 2019 12:10:16 GMT
This is an automated email from the ASF dual-hosted git repository.

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

The following commit(s) were added to refs/heads/master by this push:
     new 2d7f6a2  Added Bindings change for python to upgrade notes CTR
2d7f6a2 is described below

commit 2d7f6a209a7f253f0df1e47bbefdb35ae5b19db5
Author: Stephen Mallette <spmva@genoprime.com>
AuthorDate: Thu Jan 3 07:09:43 2019 -0500

    Added Bindings change for python to upgrade notes CTR
 docs/src/upgrade/release-3.4.x.asciidoc | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/docs/src/upgrade/release-3.4.x.asciidoc b/docs/src/upgrade/release-3.4.x.asciidoc
index 7bf543b..26e0d22 100644
--- a/docs/src/upgrade/release-3.4.x.asciidoc
+++ b/docs/src/upgrade/release-3.4.x.asciidoc
@@ -581,6 +581,19 @@ which results in a much larger memory footprint than what is contained
the `Bulk
 See: link:https://issues.apache.org/jira/browse/TINKERPOP-2111[TINKERPOP-2111]
+==== Python Bindings
+Bindings were formerly created using a Python 2-tuple as a bit of syntactic sugar, but all
other language variants
+used an explicit `Bindings` object which `gremlin-python` already had in place. To make all
work variants behave
+consistently, the 2-tuple syntax has been removed in favor of the explicit `Bindings.of()`
+g.V(Bindings.of('id',1)).out('created').map(lambda: ("it.get().value('name').length()", "gremlin-groovy")).sum()
+See: link:https://issues.apache.org/jira/browse/TINKERPOP-2116[TINKERPOP-2116]
 ==== Deprecation and Removal
 This section describes newly deprecated classes, methods, components and patterns of usage
as well as which previously

View raw message