def METHOD_NAME(self, data):
    """Ensure duplicate artifact isn't uploaded."""
    data = super().METHOD_NAME(data)
    sha256 = data["file"].hashers["sha256"].hexdigest()
    artifact = Artifact.objects.filter(sha256=sha256).first()
    if artifact:
        raise serializers.ValidationError(_("Artifact already exists"))
    return data