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)))
def __init__(self, *entities): CypherJob.__init__(self, *_create_query(Path(*entities), unique=True))
def __init__(self, *entities): CypherJob.__init__(self, *_create_query(Path(*entities)))