MCPcopy Create free account
hub / github.com/PokeAPI/pokeapi / get_effect_change_text

Method get_effect_change_text

pokemon_v2/serializers.py:3659–3665  ·  view source on GitHub ↗
(self, obj)

Source from the content-addressed store, hash-verified

3657 }
3658 )
3659 def get_effect_change_text(self, obj):
3660 effect_changes = MoveEffectChange.objects.filter(move_effect=obj.move_effect)
3661 data = MoveEffectChangeSerializer(
3662 effect_changes, many=True, context=self.context
3663 ).data
3664
3665 return data
3666
3667 @extend_schema_field(
3668 field={

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected