Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
RogerHYang committed Apr 8, 2024
1 parent 394d1ac commit 8485e34
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/phoenix/db/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,10 @@
class UtcTimeStamp(TypeDecorator[datetime]):
"""TODO(persistence): Figure out how to reliably store and retrieve
timezone-aware datetime objects from the (sqlite) database. This is a
workaround to prevent comparing timezone-naive datetime with timezone-aware
datetime, because objects in our programs are always timezone-aware.
workaround to guarantee that the timestamps we fetch from the database is
always timezone-aware. This is to prevent comparison of timezone-naive
datetime with timezone-aware datetime, because objects in the rest of our
programs are always timezone-aware.
"""

cache_ok = True
Expand Down

0 comments on commit 8485e34

Please sign in to comment.