define_stats_grouping

class maze.core.log_stats.event_decorators.define_stats_grouping(*group_by: str)

Event method decorator, defines a grouping of all calculated statistics by an attribute.

Parameters:

group_by – Name of the event attribute(s)

Returns:

The decorator function