I'm writing an application that broadly follows this example.
When I submit a POST request like:
curl http://localhost:5000/todos -d "data=Remember the milk" -X POST
I get the following error from RethinkDB:
rethinkdb/ast.py", line 118, in run
return c._start(self, **global_optargs)
AttributeError: 'function' object has no attribute '_start'
Has anybody come across this kind of thing before? I'm using RethinkDB 2.2.2 with Python 3.5.0 and Flask 0.10.1.
Thanks,
Arlo
I had a simple error in the code that I didn't notice r.connect
rather than r.connect()