Skip to content

Commit

Permalink
Fix black formatting for sqlite_client
Browse files Browse the repository at this point in the history
  • Loading branch information
Sophie Zhang committed May 14, 2024
1 parent c2c909e commit 5ab3ec8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/brad/sqlite_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 5ab3ec8

Please sign in to comment.