

def get_pokemon_names(self, obj):
    species_results = PokemonSpeciesName.objects.filter(pokemon_species=obj)
    species_serializer = PokemonSpeciesNameSerializer(species_results, many=True, context=self.context)
    data = species_serializer.data
    for name in data:
        del name['genus']
    return data

dataset/ETHPy150Open phalt/pokeapi/pokemon_v2/serializers.py PokemonSpeciesDetailSerializer.get_pokemon_names/original