You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -43,6 +44,14 @@ class Message(dict, metaclass=DictSyncMeta):
43
44
InvocableLM=Callable[..., _lstr_generic]
44
45
45
46
47
+
defutc_now() ->datetime:
48
+
"""
49
+
Returns the current UTC timestamp.
50
+
Serializes to ISO-8601.
51
+
"""
52
+
returndatetime.now(tz=timezone.utc)
53
+
54
+
46
55
classSerializedLMPUses(SQLModel, table=True):
47
56
"""
48
57
Represents the many-to-many relationship between SerializedLMPs.
@@ -54,6 +63,16 @@ class SerializedLMPUses(SQLModel, table=True):
54
63
lmp_using_id: Optional[str] =Field(default=None, foreign_key="serializedlmp.lmp_id", primary_key=True, index=True) # ID of the LMP that is using the other LMP
0 commit comments