From f20ed6e93a21562f3d4289038de6511c392a94f4 Mon Sep 17 00:00:00 2001 From: Nathaniel May Date: Wed, 1 Dec 2021 17:30:19 -0500 Subject: [PATCH] move event code up a level (#4381) move event code up a level plus minor fixes automatic commit by git-black, original commits: 41ed976941da8d5429ff87e656644b0c8698801e --- core/dbt/events/functions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/dbt/events/functions.py b/core/dbt/events/functions.py index 42aacf2b2dc..91239ce0f30 100644 --- a/core/dbt/events/functions.py +++ b/core/dbt/events/functions.py @@ -178,7 +178,7 @@ def event_to_serializable_dict( "data": log_line, "invocation_id": e.get_invocation_id(), "thread_name": e.get_thread_name(), - 'code': e.code + "code": e.code, } return event_dict