

def get_version_group_regions(self, obj):
    vg_regions = VersionGroupRegion.objects.filter(version_group=obj)
    data = VersionGroupRegionSerializer(data, many=True, context=self.context).data
    regions = []
    for region in data:
        regions.append(region['region'])
    return regions

dataset/ETHPy150Open phalt/pokeapi/pokemon_v2/serializers.py VersionGroupDetailSerializer.get_version_group_regions/VarMisuse@29/41 `vg_regions`->`data`