This is an automated email from the ASF dual-hosted git repository. colegreer pushed a commit to branch GB-Property-Deserialization in repository https://gitbox.apache.org/repos/asf/tinkerpop.git
commit 5e8dcbdeddeb02829ea07bdb2f8a745c15d26aff Author: Cole-Greer <[email protected]> AuthorDate: Tue Oct 22 13:07:46 2024 -0700 WIP Intelligent Property Skipping in Python GraphBinary --- .../src/main/python/gremlin_python/structure/io/graphbinaryV1.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/gremlin-python/src/main/python/gremlin_python/structure/io/graphbinaryV1.py b/gremlin-python/src/main/python/gremlin_python/structure/io/graphbinaryV1.py index 47a777e038..323026709b 100644 --- a/gremlin-python/src/main/python/gremlin_python/structure/io/graphbinaryV1.py +++ b/gremlin-python/src/main/python/gremlin_python/structure/io/graphbinaryV1.py @@ -602,7 +602,8 @@ class EdgeIO(_GraphBinaryTypeIO): inv = Vertex(r.read_object(b), r.to_object(b, DataType.string, False)) outv = Vertex(r.read_object(b), r.to_object(b, DataType.string, False)) edge = Edge(edgeid, outv, edgelbl, inv) - b.read(4) + r.read_object(b) # Skip Parent + r.read_object(b) # Skip Properties return edge @@ -681,7 +682,7 @@ class VertexIO(_GraphBinaryTypeIO): @classmethod def _read_vertex(cls, b, r): vertex = Vertex(r.read_object(b), r.to_object(b, DataType.string, False)) - b.read(2) + r.read_object(b) # Skip Properties return vertex @@ -707,7 +708,8 @@ class VertexPropertyIO(_GraphBinaryTypeIO): @classmethod def _read_vertexproperty(cls, b, r): vp = VertexProperty(r.read_object(b), r.to_object(b, DataType.string, False), r.read_object(b), None) - b.read(4) + r.read_object(b) # Skip Parent + r.read_object(b) # Skip Properties return vp
