

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

dataset/ETHPy150Open phalt/pokeapi/pokemon_v2/serializers.py RegionDetailSerializer.get_region_version_groups/VarMisuse@37/50 `self`->`groups`