Skip to content
This repository was archived by the owner on Aug 19, 2025. It is now read-only.

Commit 8370299

Browse files
committed
chore: remove optional annotation on asyncio.Task
1 parent 16403c3 commit 8370299

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

databases/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def __init__(
6363
self._backend = backend_cls(self.url, **self.options)
6464

6565
# Connections are stored per asyncio task
66-
self._connections: typing.Dict[typing.Optional[asyncio.Task], Connection] = {}
66+
self._connections: typing.Dict[asyncio.Task, Connection] = {}
6767

6868
# When `force_rollback=True` is used, we use a single global
6969
# connection, within a transaction that always rolls back.

0 commit comments

Comments
 (0)