Changeset - 5e061da94018
[Not reviewed]
0 1 0
Brett Smith - 4 years ago 2020-04-24 19:36:02
brettcsmith@brettcsmith.org
reports: Fix return type of RelatedPostings.group_by_meta.
1 file changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
conservancy_beancount/reports/core.py
Show inline comments
...
 
@@ -108,3 +108,3 @@ class RelatedPostings(Sequence[data.Posting]):
 
                      default: Optional[MetaValue]=None,
 
    ) -> Mapping[MetaKey, 'RelatedPostings']:
 
    ) -> Mapping[Optional[MetaValue], 'RelatedPostings']:
 
        """Relate postings by metadata value
...
 
@@ -116,3 +116,3 @@ class RelatedPostings(Sequence[data.Posting]):
 
        """
 
        retval: DefaultDict[MetaKey, 'RelatedPostings'] = collections.defaultdict(cls)
 
        retval: DefaultDict[Optional[MetaValue], 'RelatedPostings'] = collections.defaultdict(cls)
 
        for post in postings:
0 comments (0 inline, 0 general)