This is an automated email from the ASF dual-hosted git repository.
Cole-Greer pushed a commit to branch 3.7-dev
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git
The following commit(s) were added to refs/heads/3.7-dev by this push:
new de229bd5f2 TINKERPOP-3185 Fix PeerPressure.property_name token in
gremlin-python (#3545)
de229bd5f2 is described below
commit de229bd5f26d88dee46c632681cf3effd72a0b6a
Author: kirill-stepanishin <[email protected]>
AuthorDate: Wed Jul 22 16:20:52 2026 -0700
TINKERPOP-3185 Fix PeerPressure.property_name token in gremlin-python
(#3545)
Assisted-by: Claude:claude-opus-4-8
---
CHANGELOG.asciidoc | 1 +
gremlin-python/src/main/python/gremlin_python/process/traversal.py | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/CHANGELOG.asciidoc b/CHANGELOG.asciidoc
index e0b7bede71..67c31cc865 100644
--- a/CHANGELOG.asciidoc
+++ b/CHANGELOG.asciidoc
@@ -25,6 +25,7 @@
image::https://raw.githubusercontent.com/apache/tinkerpop/master/docs/static/ima
[[release-3-7-7]]
=== TinkerPop 3.7.7 (Release Date: NOT OFFICIALLY RELEASED YET)
+* Fixed `PeerPressure.property_name` in `gremlin-python` incorrectly mapping
to the `pageRank` property name token.
* Added `NextN(n)` to `Traversal` in `gremlin-go` for batched result
iteration, providing API parity with `next(n)` in the Java, Python, and .NET
GLVs.
* Added `next(n)` to `Traversal` in `gremlin-javascript` for batched result
iteration, providing API parity with `next(n)` in the Java, Python, and .NET
GLVs.
* Added `WithComputer()` to `GraphTraversalSource` in `gremlin-go`, providing
OLAP configuration parity with other language variants.
diff --git a/gremlin-python/src/main/python/gremlin_python/process/traversal.py
b/gremlin-python/src/main/python/gremlin_python/process/traversal.py
index 5fe4c71f30..6687755a72 100644
--- a/gremlin-python/src/main/python/gremlin_python/process/traversal.py
+++ b/gremlin-python/src/main/python/gremlin_python/process/traversal.py
@@ -658,7 +658,7 @@ class PeerPressure(object):
propertyName = "~tinkerpop.peerPressure.propertyName"
- property_name = "~tinkerpop.pageRank.propertyName"
+ property_name = "~tinkerpop.peerPressure.propertyName"
times = "~tinkerpop.peerPressure.times"