Skip to content

Commit

Permalink
make slackpayload fields optional
Browse files Browse the repository at this point in the history
  • Loading branch information
zzstoatzz committed Jan 9, 2024
1 parent b1a6f77 commit 2a16210
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 2a16210

Please sign in to comment.