Skip to content

Commit

Permalink
pass precommit
Browse files Browse the repository at this point in the history
  • Loading branch information
cin-cris committed Nov 11, 2024
1 parent 6dc6332 commit c4a810e
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions libs/ktem/ktem/db/base_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,12 @@ class BaseConversation(SQLModel):
# contains messages + current files + chat_suggestions
data_source: dict = Field(default={}, sa_column=Column(JSON))

date_created: datetime.datetime = Field(default_factory=lambda: datetime.datetime.now(get_localzone()))
date_updated: datetime.datetime = Field(default_factory=lambda: datetime.datetime.now(get_localzone()))
date_created: datetime.datetime = Field(
default_factory=lambda: datetime.datetime.now(get_localzone())
)
date_updated: datetime.datetime = Field(
default_factory=lambda: datetime.datetime.now(get_localzone())
)


class BaseUser(SQLModel):
Expand Down

0 comments on commit c4a810e

Please sign in to comment.