From 0c2dd90d193f8822e51dbe585104fd154df4b9fc Mon Sep 17 00:00:00 2001 From: Joe Mancuso Date: Wed, 16 Dec 2020 22:27:16 -0500 Subject: [PATCH] formatted --- src/masoniteorm/scopes/TimeStampsScope.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/masoniteorm/scopes/TimeStampsScope.py b/src/masoniteorm/scopes/TimeStampsScope.py index fe5bf2cc..d24ed957 100644 --- a/src/masoniteorm/scopes/TimeStampsScope.py +++ b/src/masoniteorm/scopes/TimeStampsScope.py @@ -1,8 +1,6 @@ from .BaseScope import BaseScope -from ..expressions.expressions import ( - UpdateQueryExpression, -) +from ..expressions.expressions import UpdateQueryExpression class TimeStampsScope(BaseScope): @@ -38,4 +36,8 @@ def set_timestamp_update(self, builder): if not builder._model.__timestamps__: return builder - builder._updates += (UpdateQueryExpression({"updated_at": builder._model.get_new_date().to_datetime_string()}),) + builder._updates += ( + UpdateQueryExpression( + {"updated_at": builder._model.get_new_date().to_datetime_string()} + ), + )