예제 #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)))
예제 #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)))
예제 #3
0
파일: write.py 프로젝트: EricEllett/py2neo
 def __init__(self, *entities):
     CypherJob.__init__(self, *_create_query(Path(*entities), unique=True))
예제 #4
0
파일: write.py 프로젝트: EricEllett/py2neo
 def __init__(self, *entities):
     CypherJob.__init__(self, *_create_query(Path(*entities)))
예제 #5
0
파일: write.py 프로젝트: zrg1993/py2neo
 def __init__(self, *entities):
     CypherJob.__init__(self, *_create_query(Path(*entities), unique=True))
예제 #6
0
파일: write.py 프로젝트: zrg1993/py2neo
 def __init__(self, *entities):
     CypherJob.__init__(self, *_create_query(Path(*entities)))