Skip to content

Commit def0326

Browse files
authored
Merge pull request #616 from microsoft/emolsh/api-ref-docs-dialoginstance
emolsh/api-ref-docs-dialoginstance
2 parents 50ac251 + ce58a6f commit def0326

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

libraries/botbuilder-dialogs/botbuilder/dialogs/dialog_instance.py

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,25 @@ class DialogInstance:
1010
"""
1111

1212
def __init__(self):
13+
"""
14+
Gets or sets the ID of the dialog and gets or sets the instance's persisted state.
15+
16+
:var self.id: The ID of the dialog
17+
:vartype self.id: str
18+
:var self.state: The instance's persisted state.
19+
:vartype self.state: Dict[str, object]
20+
"""
1321
self.id: str = None # pylint: disable=invalid-name
22+
1423
self.state: Dict[str, object] = {}
1524

1625
def __str__(self):
26+
"""
27+
Gets or sets a stack index.
28+
29+
:return: Returns stack index.
30+
:rtype: str
31+
"""
1732
result = "\ndialog_instance_id: %s\n" % self.id
1833
if self.state is not None:
1934
for key, value in self.state.items():

0 commit comments

Comments
 (0)