lint
This commit is contained in:
1 parent
83b1c85043
commit
ab4997494d
1 file changed
+1
-1
@@ -41,7 +41,7 @@ class BaseAutomation(BaseModel):
|
|||||||
condition: list[dict] = []
|
condition: list[dict] = []
|
||||||
action: list[dict] = []
|
action: list[dict] = []
|
||||||
|
|
||||||
def to_primitive(self, **kwrgs):
|
def to_primitive(self):
|
||||||
return self.dict(exclude_unset=True, exclude_none=True)
|
return self.dict(exclude_unset=True, exclude_none=True)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user