-
Type: Task
-
Resolution: Unresolved
-
Priority: Unknown
-
Affects Version/s: None
-
Component/s: None
-
None
-
Python Drivers
Document the behavior of using an async client across multiple event loops. For example:
client = AsyncMongoClient()
asyncio.run(client.server_info)
asyncio.run(client.server_info) # What does this do? Is it supported?
Is it supported? Is it undefined behavior? Does it raise an informative error?
For context, Motor does not allow this but users are often confused by that behavior (eg MOTOR-1334).
- is related to
-
MOTOR-1334 Running async client inside different async io loops breaks the client
- Investigating
-
PYTHON-4843 Async test suite should use a single event loop
- In Code Review
-
PYTHON-4860 Async client should use asyncio.Lock and asyncio.Condition
- In Code Review
- related to
-
PYTHON-4493 Use asyncio streams instead of sockets for network IO
- Backlog
-
PYTHON-4725 Async client should use tasks for SDAM instead of threads
- Closed