

def get_shape_awesome_names(self, obj):
    results = PokemonShapeName.objects.filter(pokemon_shape_id=obj)
    serializer = PokemonShapeNameSerializer(results, many=True, context=self.context)
    data = serializer.data
    for entry in data:
        del entry['name']
    return data

dataset/ETHPy150Open phalt/pokeapi/pokemon_v2/serializers.py PokemonShapeDetailSerializer.get_shape_awesome_names/original