def _find_aggregate(cs, aggregate):
 return utils.find_resource(cs.aggregates, aggregate)

def _find_aggregate ( cs , aggregate ) : return utils . find_resource ( cs . aggregates , aggregate )
get an aggregate by name or id .