EdgeMapping¶
Properties¶
| Name | Type | Description | Notes | 
|---|---|---|---|
| type_triplet | |||
| inputs | List[str] | ||
| source_vertex_mappings | [optional] | ||
| destination_vertex_mappings | [optional] | ||
| column_mappings | [optional] | 
Example¶
from graphscope.flex.rest.models.edge_mapping import EdgeMapping
# TODO update the JSON string below
json = "{}"
# create an instance of EdgeMapping from a JSON string
edge_mapping_instance = EdgeMapping.from_json(json)
# print the JSON string representation of the object
print(EdgeMapping.to_json())
# convert the object into a dict
edge_mapping_dict = edge_mapping_instance.to_dict()
# create an instance of EdgeMapping from a dict
edge_mapping_from_dict = EdgeMapping.from_dict(edge_mapping_dict)