Repository navigation
feat: add support for say_stream utility #1462
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
cacf2ad
f30dd71
3e49461
a4a63c8
55ea797
6a7f0f7
42b6c4d
eda8e73
db99b51
9aaedf7
143e8e3
393f9b0
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
- Loading branch information
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -37,9 +37,9 @@ def process(self, *, req: BoltRequest, resp: BoltResponse, next: Callable[[], Bo | |
| if req.context.channel_id and thread_ts: | ||
| req.context["say_stream"] = SayStream( | ||
| client=req.context.client, | ||
| channel_id=req.context.channel_id, | ||
| channel=req.context.channel_id, | ||
| thread_ts=thread_ts, | ||
| team_id=req.context.team_id, | ||
| user_id=req.context.user_id, | ||
| recipient_team_id=req.context.team_id, | ||
| recipient_user_id=req.context.user_id, | ||
| ) | ||
|
Comment on lines
+35
to
+44
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 👾 thought: Defaulting to different threading behavior for 🔮 ramble: I understand
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yess I think we can revisite the say behavior in the future, but changing it I think would result a breaking change 🤔 I can add a TODO or maybe create an issue for this?
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @WilliamBergamin Thanks for keeping note of this too! 📫 I'm partial to waiting for related feedback since this might be an expected experience for most! I fear that knowing some of the implementation details biases me... |
||
| return next() | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔍 note: I might not find this in outputs at the moment - would this be something to include in docstring for
say_streamtoo?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Interesting 🤔 I an seeing it on my end, let me see how I should add this to the docstring
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Warning added to docstring