HomePhabricator

Pass grouping object to `make_stats_for_one_grouping` instead of its attributes

Description

Pass grouping object to make_stats_for_one_grouping instead of its attributes

We are aiming to move some of the logic inside
make_stats_for_one_grouping to the Line object(s).

A first step towards that is to have the Grouping object
as argument to the method, and not merely the key.

For now, we basically extract back the attributes.

This however requires significant overhaul of the unit tests.

Details

Provenance
JeanFredAuthored on Jun 28 2022, 1:55 PM
Parents
R2566:cdeef60eaa81: Convert grouping list to grouping dictionary
Branches
Unknown
Tags
Unknown
ChangeId
None