MCPcopy Index your code
hub / github.com/PokeAPI/pokeapi / GrowthRateDetailSerializer

Class GrowthRateDetailSerializer

pokemon_v2/serializers.py:804–815  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

802
803
804class GrowthRateDetailSerializer(serializers.ModelSerializer):
805 descriptions = GrowthRateDescriptionSerializer(
806 many=True, read_only=True, source="growthratedescription"
807 )
808 levels = ExperienceSerializer(many=True, read_only=True, source="experience")
809 pokemon_species = PokemonSpeciesSummarySerializer(
810 many=True, read_only=True, source="pokemonspecies"
811 )
812
813 class Meta:
814 model = GrowthRate
815 fields = ("id", "name", "formula", "descriptions", "levels", "pokemon_species")
816
817
818##########################

Callers

nothing calls this directly

Tested by

no test coverage detected