From 5608893816512a258b4180e69d4ec19f8180d4dd Mon Sep 17 00:00:00 2001 From: Brett Smith Date: Mon, 4 May 2020 14:25:52 -0400 Subject: [PATCH] beancount_types: Error.source is not Optional. --- conservancy_beancount/beancount_types.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conservancy_beancount/beancount_types.py b/conservancy_beancount/beancount_types.py index c82abf5..960e52b 100644 --- a/conservancy_beancount/beancount_types.py +++ b/conservancy_beancount/beancount_types.py @@ -49,7 +49,7 @@ class Directive(NamedTuple): class Error(NamedTuple): - source: Optional[Mapping[MetaKey, MetaValue]] + source: Mapping[MetaKey, MetaValue] message: str entry: Optional[Directive]