[英]pyorient : How to create a vertex using record_create
class Person(Node):
id = String(unique = True)
name = String()
我嘗試了以下方法來創建Person節點。 但這不起作用。
person = {
'Person' : Person(name='Record', id = 1004).__dict__
}
client.record_create(0, person)
我究竟做錯了什么?
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.