Skip to content

Commit

Permalink
Merge pull request #728 from PrefectHQ/fix-slackbot
Browse files Browse the repository at this point in the history
make slackpayload fields optional
  • Loading branch information
zzstoatzz authored Jan 9, 2024
2 parents b1a6f77 + 2a16210 commit a71a27f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/marvin/utilities/slack.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ class EventBlock(BaseModel):
class SlackEvent(BaseModel):
client_msg_id: Optional[str] = None
type: str
text: str
user: str
ts: str
team: str
channel: str
text: Optional[str] = None
user: Optional[str] = None
ts: Optional[str] = None
team: Optional[str] = None
channel: Optional[str] = None
event_ts: str
thread_ts: Optional[str] = None
parent_user_id: Optional[str] = None
Expand Down

0 comments on commit a71a27f

Please sign in to comment.