

def get_species(self, obj):
    evo_objects = PokemonEvolution.objects.filter(evolution_trigger=obj)
    species_list = []
    for evo in evo_objects:
        species = PokemonSpeciesSummarySerializer(evo.evolved_species, context=species_list.context).data
        species_list.append(species)
    return species_list

dataset/ETHPy150Open phalt/pokeapi/pokemon_v2/serializers.py EvolutionTriggerDetailSerializer.get_species/VarMisuse@47/72 `self`->`species_list`