Skip to content
Snippets Groups Projects
Verified Commit 56038687 authored by Antoine Lambert's avatar Antoine Lambert
Browse files

db/db_utils: Fix black formatting

parent dd256a69
No related branches found
No related tags found
1 merge request!408Apply swh-py-template v0.3.3 with copier
......@@ -63,7 +63,7 @@ def jsonize(value):
@contextmanager
def connect_to_conninfo(
db_or_conninfo: Union[str, pgconnection]
db_or_conninfo: Union[str, pgconnection],
) -> Iterator[pgconnection]:
"""Connect to the database passed as argument.
......@@ -119,7 +119,7 @@ def swh_db_version(db_or_conninfo: Union[str, pgconnection]) -> Optional[int]:
def swh_db_versions(
db_or_conninfo: Union[str, pgconnection]
db_or_conninfo: Union[str, pgconnection],
) -> Optional[List[Tuple[int, datetime, str]]]:
"""Retrieve the swh version history of the database.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment