From ab4997494d24eddf592fd5fd905ddae7df00bcaa Mon Sep 17 00:00:00 2001 From: Ari Date: Fri, 2 Sep 2022 10:34:16 -0400 Subject: [PATCH] lint --- api/src/automations/types.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/automations/types.py b/api/src/automations/types.py index 43031fa..b78c8d0 100644 --- a/api/src/automations/types.py +++ b/api/src/automations/types.py @@ -41,7 +41,7 @@ class BaseAutomation(BaseModel): condition: list[dict] = [] action: list[dict] = [] - def to_primitive(self, **kwrgs): + def to_primitive(self): return self.dict(exclude_unset=True, exclude_none=True)