From 82ec68962a07e3e7549f419cbad942a26f70b1ad Mon Sep 17 00:00:00 2001 From: Ben Sturmfels Date: Thu, 12 Jan 2023 14:09:05 +1100 Subject: [PATCH] Use typing.List for compatibility with Python 3.6 --- conservancy_beancount/reconcile/statement_reconciler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conservancy_beancount/reconcile/statement_reconciler.py b/conservancy_beancount/reconcile/statement_reconciler.py index a151011..5ee2115 100644 --- a/conservancy_beancount/reconcile/statement_reconciler.py +++ b/conservancy_beancount/reconcile/statement_reconciler.py @@ -256,7 +256,7 @@ def format_record(record: dict) -> str: return output -def format_multirecord(r1s: list[dict], r2s: list[dict], note: str) -> list[list]: +def format_multirecord(r1s: List[dict], r2s: List[dict], note: str) -> List[list]: """Generates output lines for one statement:multiple books transaction match.""" assert len(r1s) == 1 assert len(r2s) > 1