def METHOD_NAME(self, request, key):
    profile = IastProfile.objects.filter(key=key).values_list("value", flat=True).first()
    if profile is None:
        return R.failure(msg=_("Failed to get {} configuration").format(key))
    return R.success(data={key: profile})