rethinkdb / rethinkdb_rebirth

The open-source database for the realtime web.
https://rethinkdb.com
Other
999 stars 42 forks source link

Unset loop type in some threads #72

Closed pashazz closed 5 years ago

pashazz commented 5 years ago

So, after I do r.set_loop_type('asyncio') the returning value from r.connect changes to asyncio Future. But what if I want to use normal version of r.connect in some threads that are lacking an asyncio loop? Right now it leads to some consequences - 'generator' objects in unexpected places.

pashazz commented 5 years ago

I will reopen it in python driver's bugtracker