-
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
- Backlog
-
PYTHON-4843 Async test suite should use a single event loop
- Closed
-
PYTHON-4860 Async client should use asyncio.Lock and asyncio.Condition
- Closed
- related to
-
PYTHON-4978 Async Mongo Client should always use the current thread-static event loop
- Backlog
-
PYTHON-4493 Use asyncio streams instead of sockets for network IO
- In Progress
-
PYTHON-4725 Async client should use tasks for SDAM instead of threads
- Closed