Commit a9331794 authored by Massimo Costantini's avatar Massimo Costantini
Browse files

Updated style

parent b38b44a7
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -68,7 +68,9 @@ def exec_query(
    return inner


def fetch_rows(conn, sql: str, params: List[str]) -> Callable[[object], Awaitable[dict]]:
def fetch_rows(
    conn, sql: str, params: List[str]
) -> Callable[[object], Awaitable[dict]]:
    """
    Executes a SELECT query and returns the resulting rows (functional signature: PGConn -> String -> List String -> IO (Maybe (List (List String)))).