Skip to content

Commit 393f9b0

Browse files
Add warning to docstring
1 parent 143e8e3 commit 393f9b0

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

slack_bolt/context/say_stream/async_say_stream.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@ async def __call__(
3939
thread_ts: Optional[str] = None,
4040
**kwargs,
4141
) -> AsyncChatStream:
42+
"""Starts a new chat stream with context.
43+
44+
Warning: This is an experimental feature and may change in future versions.
45+
"""
4246
warnings.warn(
4347
"say_stream is experimental and may change in future versions.",
4448
category=ExperimentalWarning,

slack_bolt/context/say_stream/say_stream.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@ def __call__(
3939
thread_ts: Optional[str] = None,
4040
**kwargs,
4141
) -> ChatStream:
42+
"""Starts a new chat stream with context.
43+
44+
Warning: This is an experimental feature and may change in future versions.
45+
"""
4246
warnings.warn(
4347
"say_stream is experimental and may change in future versions.",
4448
category=ExperimentalWarning,

0 commit comments

Comments
 (0)