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

Class PokemonTypePastSerializer

pokemon_v2/serializers.py:401–407  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

399
400
401class PokemonTypePastSerializer(serializers.ModelSerializer):
402 generation = GenerationSummarySerializer()
403 type = TypeSummarySerializer()
404
405 class Meta:
406 model = PokemonTypePast
407 fields = ("pokemon", "generation", "slot", "type")
408
409
410class PokedexVersionGroupSerializer(serializers.ModelSerializer):

Callers 1

Calls 2

Tested by

no test coverage detected