Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
asosnovsky committed Sep 2, 2022
1 parent 83b1c85 commit ab49974
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/src/automations/types.py
Expand Up @@ -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)


Expand Down

0 comments on commit ab49974

Please sign in to comment.