Example #1
0
 def __init__(self, *entities):
     # Fudge to allow graph to be passed in so Cypher syntax
     # detection can occur. Can be removed when only 2.0+ is
     # supported.
     if isinstance(entities[0], Graph):
         self.graph, entities = entities[0], entities[1:]
     CypherJob.__init__(self, *_create_query(self.graph, Path(*entities)))
Example #2
0
 def __init__(self, *entities):
     # Fudge to allow graph to be passed in so Cypher syntax
     # detection can occur. Can be removed when only 2.0+ is
     # supported.
     if isinstance(entities[0], Graph):
         self.graph, entities = entities[0], entities[1:]
     CypherJob.__init__(self, *_create_query(self.graph, Path(*entities)))
Example #3
0
 def __init__(self, *entities):
     CypherJob.__init__(self, *_create_query(Path(*entities), unique=True))
Example #4
0
 def __init__(self, *entities):
     CypherJob.__init__(self, *_create_query(Path(*entities)))
Example #5
0
 def __init__(self, *entities):
     CypherJob.__init__(self, *_create_query(Path(*entities), unique=True))
Example #6
0
 def __init__(self, *entities):
     CypherJob.__init__(self, *_create_query(Path(*entities)))