From 5ab3ec8c1dcdffa559420bac7cb4ab07451b75e6 Mon Sep 17 00:00:00 2001 From: Sophie Zhang Date: Tue, 14 May 2024 01:00:09 -0400 Subject: [PATCH] Fix black formatting for sqlite_client --- src/brad/sqlite_client.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/brad/sqlite_client.py b/src/brad/sqlite_client.py index f5ce16c3..19bc0ff2 100644 --- a/src/brad/sqlite_client.py +++ b/src/brad/sqlite_client.py @@ -37,10 +37,10 @@ def close(self): self._connection.close() def run_query_generator(self, query: str) -> Generator[Tuple[Any, ...], None, None]: - assert(self._cursor) + assert self._cursor for row in self._cursor.execute(query): yield row def run_query(self, query: str) -> RowList: - assert(self._cursor) + assert self._cursor return self._cursor.execute(query)