From e69286380280c3740dda6378c092e331994cd6a4 Mon Sep 17 00:00:00 2001 From: Aditya Shrivastav Date: Sat, 24 Aug 2024 16:04:55 +0530 Subject: [PATCH] dlp runner returns json not dict --- src/dlp-runner/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dlp-runner/main.py b/src/dlp-runner/main.py index 8bd9ecb..fa22e1a 100644 --- a/src/dlp-runner/main.py +++ b/src/dlp-runner/main.py @@ -39,4 +39,4 @@ def run_dlp_on_text(text_data, dlp_template, project_id): } ) - return proto.Message.to_dict(dlp_response.result) + return proto.Message.to_json(dlp_response.result)