From 37d593b3e748eb16a6dc00f62c5566c727394e4b Mon Sep 17 00:00:00 2001 From: efazati Date: Wed, 10 May 2017 10:05:34 +0430 Subject: [PATCH] fix example for examples/createSocialGraph.py --- examples/createSocialGraph.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/createSocialGraph.py b/examples/createSocialGraph.py index 15e0a24..7bd2e1e 100755 --- a/examples/createSocialGraph.py +++ b/examples/createSocialGraph.py @@ -36,10 +36,10 @@ def __init__(self): if self.db.hasGraph('social'): raise Exception("The social graph was already provisioned! remove it first") - self.female = self.db.createCollection("female") - self.male = self.db.createCollection("male") + self.female = self.db.createCollection('Collection', "female") + self.male = self.db.createCollection('Collection', "male") - self.relation = self.db.createCollection("relation") + self.relation = self.db.createCollection('Edges', "relation") g = self.db.createGraph("social")