

def get_values(self, obj):
    mod = obj.gene_mod_5
    values = []
    while (mod <= 30):
        values.append(mod)
        mod += 5
    return values

dataset/ETHPy150Open phalt/pokeapi/pokemon_v2/serializers.py CharacteristicDetailSerializer.get_values/original