GitHub user bjmoor opened a pull request:
https://github.com/apache/tinkerpop/pull/490
GraphSON decode of Vertex and Edge properties
If the server sends properties back with the Vertices and Edges,
gremlin_python should deserialize the properties and make them available.
This patch will add the properties to the returned Vertex, Edge,
VertexProperty or Property, if and only if, the "properties" are returned.
By default, gremlin-server will not return Properties or Labels of
elements. However, when using a DetachedFactory HaltedTraverserStrategy, the
server will return these properties.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/bjmoor/tinkerpop python_properties
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/tinkerpop/pull/490.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #490
----
commit 1fc4d981b87a68711ec25e159506c00232caa90b
Author: Branden Moore <[email protected]>
Date: 2016-11-13T15:53:41Z
[gremlin_python] If properties are sent with an element, deserialize them
commit a9fc23293b38fc36c404882124db1760383786cd
Author: Branden Moore <[email protected]>
Date: 2016-11-13T21:58:50Z
[gremlin-python] Add tests for property deserialization
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---