File tree Expand file tree Collapse file tree 1 file changed +16
-1
lines changed
libraries/botbuilder-dialogs/botbuilder/dialogs Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Original file line number Diff line number Diff line change 44from typing import List
55from .dialog_instance import DialogInstance
66
7-
87class DialogState :
8+ """
9+ Contains state information for the dialog stack.
10+ """
911 def __init__ (self , stack : List [DialogInstance ] = None ):
12+ """
13+ Initializes a new instance of the :class:`DialogState` class.
14+ The new instance is created with an empty dialog stack.
15+
16+ :param stack: The state information to initialize the stack with.
17+ :type stack: List[:class:`DialogInstance`]
18+ """
1019 if stack is None :
1120 self ._dialog_stack = []
1221 else :
1322 self ._dialog_stack = stack
1423
1524 @property
1625 def dialog_stack (self ):
26+ """
27+ Initializes a new instance of the :class:`DialogState` class.
28+
29+ :return: The state information to initialize the stack with.
30+ :rtype: List
31+ """
1732 return self ._dialog_stack
1833
1934 def __str__ (self ):
You can’t perform that action at this time.
0 commit comments