def __init__(self, resource_uri, settings, config, log):
     neo = backend.load_neo(resource_uri, settings)
     Neo4jObject.__init__(self, neo=neo)
     self.__neo = neo
     self.__admin = admin = AdminInterface(neo, config, log)
     self.__nodes = NodeFactory(self, neo, admin)
     self.__relationships = RelationshipLookup(self, neo, admin)
     self.__index = indexes.IndexService(self, neo)
     self.__transaction = lambda: TransactionContext(neo)
     self.__log = log
     atexit.register(self.shutdown)
 def __init__(self, resource_uri, settings, config, log):
     neo = backend.load_neo(resource_uri, settings)
     Neo4jObject.__init__(self, neo=neo)
     self.__neo = neo
     self.__admin = admin = AdminInterface(neo, config, log)
     self.__nodes = NodeFactory(self, neo, admin)
     self.__relationships = RelationshipLookup(self, neo, admin)
     self.__index = indexes.IndexService(self, neo)
     self.__transaction = lambda: TransactionContext(neo)
     self.__log = log
     atexit.register(self.shutdown)
 def __init__(self, neo, relationship):
     Neo4jObject.__init__(self, neo=neo, relationship=relationship)
     _PropertyDict.__init__(self, relationship)
     self.__relationship = relationship
     self.__neo = neo
 def __init__(self, neo, node):
     Neo4jObject.__init__(self, neo=neo, node=node)
     _PropertyDict.__init__(self, node)
     self.__neo = neo
     self.__node = node
Example #5
0
 def __init__(self, neo, relationship):
     Neo4jObject.__init__(self, neo=neo, relationship=relationship)
     _PropertyDict.__init__(self, relationship)
     self.__relationship = relationship
     self.__neo = neo
Example #6
0
 def __init__(self, neo, node):
     Neo4jObject.__init__(self, neo=neo, node=node)
     _PropertyDict.__init__(self, node)
     self.__neo = neo
     self.__node = node