Toggle navigation
EN
EN
DE
ES
FR
IT
UK
EN
DE
ES
FR
IT
UK
Help
Log In
Help
Log In
EN
EN
DE
ES
FR
IT
UK
EN
DE
ES
FR
IT
UK
Home
Messages
Hashtags
Subgroups
Calendar
×
×
×
Close
Likes
janusgraph-users@lists.lfaidata.foundation
Messages
Issue creating vertex with a List property having large number of elements
×
Close
Search
Single
Toggle Dropdown
Messages
Topics
Expanded
previous page
#4205
next page
Issue creating vertex with a List property having large number of elements
Aswin Karthik P <zas...@...>
#4205
There is a small change in last line of the python code.
Updated code
from gremlin_python.driver import client
client = client.Client('ws://localhost:8182/gremlin', 'g')
mgmtScript = "mgmt = graph.openManagement()\n" + \
"if (mgmt.getPropertyKey('name') != null) return false\n" + \
"mgmt.makePropertyKey('name').dataType(String.class).make()\n" + \
"mgmt.makePropertyKey('vl_prop').dataType(Float.class).cardinality(LIST).make()\n" +\
"mgmt.commit()\n" + \
"return true";
client.submit(mgmtScript).next()
f = open("only_vertex.txt", "r")
create_query = f.read()
client.submit(create_query).next()
More
previous page
View All 3 Messages In Topic
next page
previous page
#4205
next page
Join
{janusgraph-users@lists.lfaidata.foundation to automatically receive all group messages.
×
Close
Report Message
Reason
Report to Moderators
I think this message isn't appropriate for our group. The Group moderators are responsible for maintaining their community and can address these issues.
Report to LF AI and Data Support
I think this violates the Terms of Service. This includes: harm to minors, violence or threats, harassment or privacy invasion, impersonation or misrepresentation, fraud or phishing.
Note:
Your email address is included with the abuse report.
×
Close
Verify Delete
Are you sure you wish to delete this message from the message archives of janusgraph-users@lists.lfaidata.foundation?
This cannot be undone.
×
Close
Verify Repost
Are you sure you wish to repost this message?
More Options
More
Home
Hashtags
Subgroups
Calendar
Terms
Toggle navigation
Terms
©
2023
Groups.io