shorten and ignore cln.py

This commit is contained in:
callebtc
2023-04-04 07:35:19 +02:00
committed by dni ⚡
parent f766f9b2c3
commit 234b508368
3 changed files with 7 additions and 11 deletions
+1 -1
View File
@@ -185,7 +185,7 @@ class Database(Compat):
async def connect(self):
await self.lock.acquire()
try:
async with self.engine.connect() as conn:
async with self.engine.connect() as conn: # type: ignore
async with conn.begin() as txn:
wconn = Connection(conn, txn, self.type, self.name, self.schema)