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:
8383
8484 # Create an edge definition named "teach". This creates any missing
8585 # collections and returns an API wrapper for "teach" edge collection.
86+ # At first, create a wrong teachers->teachers mapping intentionally.
8687 if not school.has_edge_definition('teach'):
8788 teach = school.create_edge_definition(
8889 edge_collection='teach',
@@ -93,7 +94,7 @@ Here is an example showing how edge definitions are managed:
9394 # List edge definitions.
9495 school.edge_definitions()
9596
96- # Replace the edge definition.
97+ # Replace with the correct edge definition.
9798 school.replace_edge_definition(
9899 edge_collection='teach',
99100 from_vertex_collections=['teachers'],
You can’t perform that action at this time.
0 commit comments