From 42565839f973731cea8c8f8eddfdd8add38779e2 Mon Sep 17 00:00:00 2001 From: Jonathon Broughton Date: Mon, 24 Mar 2025 23:16:45 +0000 Subject: [PATCH] Update success message with more details - Enhanced the success message to include sanitisation mode. - Added info on whether strict mode is active. --- src/data_shield/function.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/data_shield/function.py b/src/data_shield/function.py index d25dbeb..31ebc22 100644 --- a/src/data_shield/function.py +++ b/src/data_shield/function.py @@ -142,4 +142,6 @@ def automate_function( # We can pin the result view to the specific version we created. automate_context.set_context_view([f"{new_model_id}@{new_version_id}"], False) - automate_context.mark_run_success("Parameters processed successfully.") \ No newline at end of file + automate_context.mark_run_success(f"Parameters processed successfully with shield function " + f"{function_inputs.sanitization_mode}" + f"{' running in strict mode' if function_inputs.strict_mode else ''}.") \ No newline at end of file