8000 Update activity_prompt.py · TheCompuGuru/botbuilder-python@5787084 · GitHub
[go: up one dir, main page]

8000
Skip to content

Commit 5787084

Browse files
author
Emily Olshefski
committed
Update activity_prompt.py
1 parent 6eacc29 commit 5787084

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

libraries/botbuilder-dialogs/botbuilder/dialogs/prompts/activity_prompt.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class ActivityPrompt(Dialog, ABC):
2424
"""
2525
Waits for an activity to be received.
2626
27-
.. remarks:
27+
.. remarks::
2828
This prompt requires a validator be passed in and is useful when waiting for non-message
2929
activities like an event to be received. The validator can ignore received events until the
3030
expected activity is received.
@@ -156,10 +156,10 @@ async def resume_dialog( # pylint: disable=unused-argument
156156
Called when a prompt dialog resumes being the active dialog on the dialog stack, such
157157
as when the previous active dialog on the stack completes.
158158
159-
.. note:
159+
.. remarks::
160160
Prompts are typically leaf nodes on the stack but the dev is free to push other dialogs
161161
on top of the stack which will result in the prompt receiving an unexpected call to
162-
:meth:resume_dialog() when the pushed on dialog ends.
162+
:meth:`ActivityPrompt.resume_dialog()` when the pushed on dialog ends.
163163
To avoid the prompt prematurely ending, we need to implement this method and
164164
simply re-prompt the user.
165165

0 commit comments

Comments
 (0)
0