File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -83,6 +83,7 @@ Here is an example showing how edge definitions are managed:
83
83
84
84
# Create an edge definition named "teach". This creates any missing
85
85
# collections and returns an API wrapper for "teach" edge collection.
86
+ # At first, create a wrong teachers->teachers mapping intentionally.
86
87
if not school.has_edge_definition('teach'):
87
88
teach = school.create_edge_definition(
88
89
edge_collection='teach',
@@ -93,7 +94,7 @@ Here is an example showing how edge definitions are managed:
93
94
# List edge definitions.
94
95
school.edge_definitions()
95
96
96
- # Replace the edge definition.
97
+ # Replace with the correct edge definition.
97
98
school.replace_edge_definition(
98
99
edge_collection='teach',
99
100
from_vertex_collections=['teachers'],
You can’t perform that action at this time.
0 commit comments