def _getOrientDbStore(self): config = getConfig() return OrientDbStore(user=config.OrientDB["user"], password=config.OrientDB["password"], dbName=self.name, storageType=pyorient.STORAGE_TYPE_MEMORY)
def _getOrientDbStore(self): return OrientDbStore(user=self.config.OrientDB["user"], password=self.config.OrientDB["password"], dbName=self.name, storageType=pyorient.STORAGE_TYPE_PLOCAL)
def odbhs(): hs = OrientDbHashStore( OrientDbStore(user="******", password="******", dbName="test")) cleanup(hs) return hs