Skip to content

Commit 49b2997

Browse files
committed
Updating docs
1 parent 317847d commit 49b2997

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/graph.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff 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'],

0 commit comments

Comments
 (0)