Hi,
I suggest adding the default parameter to groupby filter, so we can group the list
with some objects missing the group attribute.
when we config ansible inventory, we usually do not write the options that have a default value.
it is good if groupby has the default value for this scenario.
Since make_attrgetter already support the default parameter, it is easy to implitment.
thanks.
Hi,
I suggest adding the
defaultparameter togroupbyfilter, so we can group the listwith some objects missing the group attribute.
when we config ansible inventory, we usually do not write the options that have a default value.
it is good if
groupbyhas the default value for this scenario.Since
make_attrgetteralready support the default parameter, it is easy to implitment.thanks.