Skip to content

Commit 1064b3f

Browse files
committed
fix again
1 parent 44d286b commit 1064b3f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

saq/queue/postgres.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,10 +124,10 @@ def __init__(
124124
func = t.cast(t.Callable[[], t.Awaitable[t.Dict[str, t.Any]]], self.pool.kwargs)
125125
kwargs: t.Dict[str, t.Any] = asyncio.run(func()) # type: ignore
126126
autocommit = kwargs.get("autocommit")
127-
self.pool.kwargs = lambda: kwargs | {"autocommit": True} # type: ignore
127+
self.pool.kwargs = lambda: kwargs | {"autocommit": True} # type: ignore[unused-ignore]
128128
else:
129129
if self.pool.kwargs is None:
130-
self.pool.kwargs = {} # type: ignore[unreachable]
130+
self.pool.kwargs = {} # type: ignore[unreachable, unused-ignore]
131131
autocommit = self.pool.kwargs.get("autocommit")
132132
self.pool.kwargs["autocommit"] = True
133133

0 commit comments

Comments
 (0)