Skip to content

Commit

Permalink
runned black
Browse files Browse the repository at this point in the history
  • Loading branch information
AlxEnashi committed Sep 10, 2024
1 parent 5dc4961 commit db51d98
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions watchlist_step/watchlist_step/step.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ def __init__(

def insert_matches(self, matches: List[tuple]):
values = [
(m[2], m[0], int(m[1]), json.dumps({}), datetime.datetime.now()) for m in matches
(m[2], m[0], int(m[1]), json.dumps({}), datetime.datetime.now())
for m in matches
]

query = create_insertion_query()
Expand Down Expand Up @@ -130,7 +131,7 @@ def execute(self, message: List[dict]):
to_notify = self.get_to_notify(updated_values, filters)
if len(to_notify) > 0:
self.mark_for_notification(to_notify)

return []

# def tear_down(self):
Expand Down

0 comments on commit db51d98

Please sign in to comment.