Skip to content

Commit 55151fd

Browse files
chore: format backend code
1 parent 91161f2 commit 55151fd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

app/db/models.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,9 @@ class User(Base):
124124
created_at: Mapped[dt] = mapped_column(DateTime(timezone=True), default_factory=lambda: dt.now(tz.utc), init=False)
125125
username: Mapped[str] = mapped_column(CaseSensitiveString(128), unique=True, index=True)
126126
node_usages: Mapped[List["NodeUserUsage"]] = relationship(
127-
back_populates="user", cascade="all, delete-orphan", init=False,
127+
back_populates="user",
128+
cascade="all, delete-orphan",
129+
init=False,
128130
)
129131
notification_reminders: Mapped[List["NotificationReminder"]] = relationship(
130132
back_populates="user", cascade="all, delete-orphan", init=False

0 commit comments

Comments
 (0)