gremlin-python Vertex properties None Issue

30 views
Skip to first unread message

Lesley Deng

unread,
Dec 24, 2024, 10:16:23 PM12/24/24
to Gremlin-users
Hey there,

I'm working with gremlin-python and have encountered an issue where the properties attribute of a Vertex object is returning None. However, when I query the same vertex using propertyMap(), it correctly shows properties cid and lid. I've set indexes on these properties, but I'm wondering if this is causing the inconsistency.

Any insights on what might be causing this behavior?
e.g.,
1.png
2.png

how I set indexes:
3.png

Thanks

Stephen Mallette

unread,
Jan 2, 2025, 7:59:33 AMJan 2
to gremli...@googlegroups.com
getting properties on an element or not with python has nothing to do with your indices. in short, to get properties on elements your graph would need to support TinkerPop 3.7.x and you would need to use the feature described here: 


--
You received this message because you are subscribed to the Google Groups "Gremlin-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-user...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/gremlin-users/53f2c699-ee1a-4187-a806-73d22727e169n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages