I ran into a case where a metric returned a dict that mapped from a str to an int. No aggregation function matched because it isn't type float. The method was returning None and it was hard to find out why.
This PR enables aggregating over ints and raises an error if no aggregation function is found instead of returning None
I ran into a case where a metric returned a dict that mapped from a
str
to anint
. No aggregation function matched because it isn't typefloat
. The method was returningNone
and it was hard to find out why.This PR enables aggregating over
int
s and raises an error if no aggregation function is found instead of returningNone