remove timestamp from WebhookMessageLog model (#804)

This commit is contained in:
bmc-msft
2021-04-14 12:49:46 -04:00
committed by GitHub
parent e413aec03d
commit c8572cd55a
2 changed files with 7 additions and 4 deletions

View File

@ -3,7 +3,6 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.
from datetime import datetime
from typing import List, Optional
from uuid import UUID, uuid4
@ -18,7 +17,6 @@ class WebhookMessage(EventMessage):
class WebhookMessageLog(WebhookMessage):
timestamp: Optional[datetime] = Field(alias="Timestamp")
state: WebhookMessageState = Field(default=WebhookMessageState.queued)
try_count: int = Field(default=0)