def get_natures_that_affect(self, obj):

        stat_change_objects = NaturePokeathlonStat.objects.filter(pokeathlon_stat=obj)
        stat_changes = NaturePokeathlonStatSerializer(
            stat_change_objects, many=True, context=self.context).data
        changes = OrderedDict([('increase', []), ('decrease', [])])

        for change in stat_changes:
            del change['pokeathlon_stat']
            if change['max_change'] == 0:
                changes['increase'].append(change)
            else:
                changes['decrease'].append(change)

        return changes


#########################
#  POKEDEX SERIALIZERS  #
#########################
dataset/ETHPy150Open phalt/pokeapi/pokemon_v2/serializers.py/PokeathlonStatDetailSerializer.get_natures_that_affect/operator `>` -> `==`