-
-
Notifications
You must be signed in to change notification settings - Fork 32
Closed
Labels
bugSomething isn't workingSomething isn't workingnot qualifiedThe issue is not checked yet by the ownersThe issue is not checked yet by the owners
Description
Describe the bug
The most basic example fails
BaseEventLoop.create_connection() got an unexpected keyword argument 'loop'
To Reproduce
Steps to reproduce the behavior:
- install the most recent python
pyenv install 3.10
pyenv use 3.10
- try to run the async example
async def main():
r.set_loop_type('asyncio')
connection = await r.connect(db='test')
await r.table_create('marvel').run(connection)
Expected behavior
It works.
Screenshots
Traceback (most recent call last):
File "/Users/luckydonald/.pyenv/versions/3.10.0/lib/python3.10/site-packages/rethinkdb/asyncio_net/net_asyncio.py", line 202, in connect
self._streamreader, self._streamwriter = yield from asyncio.open_connection(
File "/Users/luckydonald/.pyenv/versions/3.10.0/lib/python3.10/asyncio/streams.py", line 47, in open_connection
transport, _ = await loop.create_connection(
TypeError: BaseEventLoop.create_connection() got an unexpected keyword argument 'loop'
System info
- Python:
3.10.0
- pip:
rethinkdb==2.4.8
- OS: [macOS Mojave 10.14.6 (18G103)]
- RethinkDB Version:
Running rethinkdb 2.4.1 (CLANG 11.0.0 (clang-1100.0.33.17))...
Running on Darwin 18.7.0 x86_64
Additional context
Add any other context about the problem here.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingnot qualifiedThe issue is not checked yet by the ownersThe issue is not checked yet by the owners