From 9e081a528e83fe9329ad1ba138134aef26cbe0f3 Mon Sep 17 00:00:00 2001 From: Michelle Ark Date: Tue, 30 Jan 2024 11:54:52 -0500 Subject: [PATCH] Restore msg_to_dict functionality (#49) test functions.py fix --- dbt_common/events/functions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dbt_common/events/functions.py b/dbt_common/events/functions.py index fe29a543..6402c791 100644 --- a/dbt_common/events/functions.py +++ b/dbt_common/events/functions.py @@ -94,7 +94,7 @@ def msg_to_dict(msg: EventMsg) -> dict: msg_dict = dict() try: msg_dict = MessageToDict( - msg.data, + msg, preserving_proto_field_name=True, including_default_value_fields=True, # type: ignore )