Skip to content

Commit 7cc99c4

Browse files
authored
Added EnterpriseGraph example. (#243)
1 parent ee274ff commit 7cc99c4

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

+5
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,11 @@ db = client.db("test", username="root", password="passwd")
7272
# Create a new graph named "school".
7373
graph = db.create_graph("school")
7474

75+
# Create a new EnterpriseGraph [Enterprise Edition]
76+
eegraph = db.create_graph(
77+
name="school",
78+
smart=True)
79+
7580
# Create vertex collections for the graph.
7681
students = graph.create_vertex_collection("students")
7782
lectures = graph.create_vertex_collection("lectures")

0 commit comments

Comments
 (0)