基础顶点类型¶
属性¶
名称 |
类型 |
描述 |
备注 |
|---|---|---|---|
type_name |
str |
[可选] |
|
primary_keys |
List[str] |
[可选] |
|
x_csr_params |
[可选] |
示例¶
from gs_interactive.models.base_vertex_type import BaseVertexType
# TODO update the JSON string below
json = "{}"
# create an instance of BaseVertexType from a JSON string
base_vertex_type_instance = BaseVertexType.from_json(json)
# print the JSON string representation of the object
print BaseVertexType.to_json()
# convert the object into a dict
base_vertex_type_dict = base_vertex_type_instance.to_dict()
# create an instance of BaseVertexType from a dict
base_vertex_type_form_dict = base_vertex_type.from_dict(base_vertex_type_dict)