From 4d4ceb4b5f332cbf3b83d8838aff0cd0ef47bea1 Mon Sep 17 00:00:00 2001 From: Emily Olshefski Date: Tue, 14 Jan 2020 14:00:48 -0800 Subject: [PATCH 1/4] emolsh/api-ref-docs-dialogturnstatus --- .../botbuilder/dialogs/dialog_turn_status.py | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/libraries/botbuilder-dialogs/botbuilder/dialogs/dialog_turn_status.py b/libraries/botbuilder-dialogs/botbuilder/dialogs/dialog_turn_status.py index e734405a8..36441fe7c 100644 --- a/libraries/botbuilder-dialogs/botbuilder/dialogs/dialog_turn_status.py +++ b/libraries/botbuilder-dialogs/botbuilder/dialogs/dialog_turn_status.py @@ -2,16 +2,23 @@ # Licensed under the MIT License. from enum import Enum - class DialogTurnStatus(Enum): - # Indicates that there is currently nothing on the dialog stack. + """Codes indicating the state of the dialog stack after a call to `DialogContext.continueDialog()` + + :var Empty: Indicates that there is currently nothing on the dialog stack. + :vartype Empty: int + :var Waiting: Indicates that the dialog on top is waiting for a response from the user. + :vartype Waiting: int + :var Complete: Indicates that the dialog completed successfully, the result is available, and the stack is empty. + :vartype Complete: int + :var Cancelled: Indicates that the dialog was cancelled and the stack is empty. + :vartype Cancelled: int + """ + Empty = 1 - # Indicates that the dialog on top is waiting for a response from the user. Waiting = 2 - # Indicates that the dialog completed successfully, the result is available, and the stack is empty. Complete = 3 - # Indicates that the dialog was cancelled and the stack is empty. Cancelled = 4 From c824f4cd758483c5a94a3963ad7458a6e74f3072 Mon Sep 17 00:00:00 2001 From: Emily Olshefski Date: Thu, 16 Jan 2020 15:32:12 -0800 Subject: [PATCH 2/4] Fixed variable formatting --- .../botbuilder/dialogs/dialog_turn_status.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libraries/botbuilder-dialogs/botbuilder/dialogs/dialog_turn_status.py b/libraries/botbuilder-dialogs/botbuilder/dialogs/dialog_turn_status.py index 36441fe7c..395cda883 100644 --- a/libraries/botbuilder-dialogs/botbuilder/dialogs/dialog_turn_status.py +++ b/libraries/botbuilder-dialogs/botbuilder/dialogs/dialog_turn_status.py @@ -6,13 +6,13 @@ class DialogTurnStatus(Enum): """Codes indicating the state of the dialog stack after a call to `DialogContext.continueDialog()` :var Empty: Indicates that there is currently nothing on the dialog stack. - :vartype Empty: int + :vartype Empty: :class:`int` :var Waiting: Indicates that the dialog on top is waiting for a response from the user. - :vartype Waiting: int + :vartype Waiting: :class:`int` :var Complete: Indicates that the dialog completed successfully, the result is available, and the stack is empty. - :vartype Complete: int + :vartype Complete: :class:`int` :var Cancelled: Indicates that the dialog was cancelled and the stack is empty. - :vartype Cancelled: int + :vartype Cancelled: :class:`int` """ Empty = 1 From 161791e2041976d0fafb22a3f6a55697ae16aeab Mon Sep 17 00:00:00 2001 From: Emily Olshefski Date: Mon, 20 Jan 2020 11:22:22 -0800 Subject: [PATCH 3/4] Fixed formatting --- .../botbuilder/dialogs/dialog_turn_status.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libraries/botbuilder-dialogs/botbuilder/dialogs/dialog_turn_status.py b/libraries/botbuilder-dialogs/botbuilder/dialogs/dialog_turn_status.py index 395cda883..36441fe7c 100644 --- a/libraries/botbuilder-dialogs/botbuilder/dialogs/dialog_turn_status.py +++ b/libraries/botbuilder-dialogs/botbuilder/dialogs/dialog_turn_status.py @@ -6,13 +6,13 @@ class DialogTurnStatus(Enum): """Codes indicating the state of the dialog stack after a call to `DialogContext.continueDialog()` :var Empty: Indicates that there is currently nothing on the dialog stack. - :vartype Empty: :class:`int` + :vartype Empty: int :var Waiting: Indicates that the dialog on top is waiting for a response from the user. - :vartype Waiting: :class:`int` + :vartype Waiting: int :var Complete: Indicates that the dialog completed successfully, the result is available, and the stack is empty. - :vartype Complete: :class:`int` + :vartype Complete: int :var Cancelled: Indicates that the dialog was cancelled and the stack is empty. - :vartype Cancelled: :class:`int` + :vartype Cancelled: int """ Empty = 1 From 6de16337534910fb25fd1b43737998220e6579b4 Mon Sep 17 00:00:00 2001 From: Emily Olshefski Date: Wed, 22 Jan 2020 15:18:30 -0800 Subject: [PATCH 4/4] Updated formatting --- .../botbuilder/dialogs/dialog_turn_status.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libraries/botbuilder-dialogs/botbuilder/dialogs/dialog_turn_status.py b/libraries/botbuilder-dialogs/botbuilder/dialogs/dialog_turn_status.py index 36441fe7c..46be68c85 100644 --- a/libraries/botbuilder-dialogs/botbuilder/dialogs/dialog_turn_status.py +++ b/libraries/botbuilder-dialogs/botbuilder/dialogs/dialog_turn_status.py @@ -3,7 +3,8 @@ from enum import Enum class DialogTurnStatus(Enum): - """Codes indicating the state of the dialog stack after a call to `DialogContext.continueDialog()` + """ + Codes indicating the state of the dialog stack after a call to `DialogContext.continueDialog()` :var Empty: Indicates that there is currently nothing on the dialog stack. :vartype Empty: int