From edecbbacf61c04561d42ebc1a9826c733ff3a0dd Mon Sep 17 00:00:00 2001 From: nharper285 <74685766+nharper285@users.noreply.github.com> Date: Wed, 7 Jul 2021 09:41:45 -0700 Subject: [PATCH] Adding timestamp to notification model to query from storage table. (#1043) --- src/pytypes/onefuzztypes/models.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pytypes/onefuzztypes/models.py b/src/pytypes/onefuzztypes/models.py index 6f96a504a..a16b8fd0b 100644 --- a/src/pytypes/onefuzztypes/models.py +++ b/src/pytypes/onefuzztypes/models.py @@ -541,6 +541,7 @@ NotificationTemplate = Union[ADOTemplate, TeamsTemplate, GithubIssueTemplate] class Notification(BaseModel): + timestamp: Optional[datetime] = Field(alias="Timestamp") container: Container notification_id: UUID = Field(default_factory=uuid4) config: NotificationTemplate