BaseEdgeType¶
Properties¶
Name |
Type |
Description |
Notes |
---|---|---|---|
type_name |
str |
||
vertex_type_pair_relations |
|||
directed |
bool |
[optional] |
|
primary_keys |
List[str] |
[optional] |
Example¶
from graphscope.flex.rest.models.base_edge_type import BaseEdgeType
# TODO update the JSON string below
json = "{}"
# create an instance of BaseEdgeType from a JSON string
base_edge_type_instance = BaseEdgeType.from_json(json)
# print the JSON string representation of the object
print(BaseEdgeType.to_json())
# convert the object into a dict
base_edge_type_dict = base_edge_type_instance.to_dict()
# create an instance of BaseEdgeType from a dict
base_edge_type_from_dict = BaseEdgeType.from_dict(base_edge_type_dict)