Skip to content

Commit 33db456

Browse files
authored
Merge pull request #66 from efazati/master
fix example for examples/createSocialGraph.py
2 parents 144c487 + 37d593b commit 33db456

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

examples/createSocialGraph.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@ def __init__(self):
3636
if self.db.hasGraph('social'):
3737
raise Exception("The social graph was already provisioned! remove it first")
3838

39-
self.female = self.db.createCollection("female")
40-
self.male = self.db.createCollection("male")
39+
self.female = self.db.createCollection('Collection', "female")
40+
self.male = self.db.createCollection('Collection', "male")
4141

42-
self.relation = self.db.createCollection("relation")
42+
self.relation = self.db.createCollection('Edges', "relation")
4343

4444
g = self.db.createGraph("social")
4545

0 commit comments

Comments
 (0)