Questions tagged [neomodel]

neomodel is a python Object Graph Mapper (OGM) for the neo4j graph database.

neomodel is an Object Graph Mapper (OGM) for the neo4j graph database, built on the awesome neo4j_driver. It is written in python.

97 questions
0
votes
2 answers

Neo4j, py2neo, Neomodel - Cypher Shortest Path giving error - TypeError: 'NotImplementedType' object is not callable

I'm trying to run the following Cypher query in neomodel: MATCH (b1:Bal { text:'flame' }), (b2:Bal { text:'candle' }), p = shortestPath((b1)-[*..15]-(b2)) RETURN p which works great on neo4j via the server console. It returns 3 nodes with two…
raschwab
  • 41
  • 6
0
votes
1 answer

How to add label to neo4j nodes using neomodel (batch create)

I am creating nodes using batch create method mentioned in the documentation: people = Person.create( {'name': 'Tim', 'age': 83}, {'name': 'Bob', 'age': 23}, {'name': 'Jill', 'age': 34}, ) Nodes gets created…
0
votes
1 answer

Nested for-cycles in Django templates

I am using Django my a NoSQL graph database, and the Neomodel binding to link them. Querying it in my local shell, I have everything correct: city = PlaceName.index.search(name='Sargans') for x in city: results = x.traverse('hasid') for y…
user3241376
  • 407
  • 7
  • 20
0
votes
1 answer

Django encoding error when querying the DB

I am using the Neomodel library to bind my Neo4j database with Django framework. Trying to get an instance from my DB via local shell, I am getting an encoding error: city = PlaceName.index.search(name=u'Zürich') UnicodeEncodeError: 'ascii' codec…
user3241376
  • 407
  • 7
  • 20
0
votes
1 answer

"Random" SocketError/Connection Refused errors on py2neo queries

Hullo, hope this doesn't end up being too trivial. The relevant parts of my stack are Gunicorn/Celery, neomodel (0.3.6), and py2neo (1.5). Neo4j version is 1.9.4, bound on 0.0.0.0:7474 (all of this is on linux, Ubuntu 13.04 I think) So my…
BluePeppers
  • 1,603
  • 14
  • 12
-1
votes
1 answer

Django can not run 'install_labels' on neo4j Database

I'm trying to set up a Docker container running React on the frontend, Django on the backend and Neo4j as the database. At the moment all three components are running correctly, but I just can't get Django to connect to the Neo4j database. I've…
Brian
  • 1
  • 2
-1
votes
1 answer

how can a name in the namespace be undefined Python?

I have a ludicrous error while trying to follow http://neomodel.readthedocs.org/en/latest/getting_started.html#connecting I just uninstalled neo4django from this environment because it has the name StringProperty, and I am trying to make a class for…
codyc4321
  • 9,014
  • 22
  • 92
  • 165
1 2 3 4 5 6
7