

def validate_type(self, value):
    types_map = get_types_map()
    return value[value]

dataset/ETHPy150Open rakanalh/django-pushy/pushy/contrib/rest_api/serializers.py DeviceSerializer.validate_type/VarMisuse@19/25 `types_map`->`value`