8000 Added need default value to ObjectPath.get_path_value · Santhosh0505/botbuilder-python@4dbc680 · GitHub
[go: up one dir, main page]

Skip to content

Commit 4dbc680

Browse files
committed
Added need default value to ObjectPath.get_path_value
1 parent f51a608 commit 4dbc680

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libraries/botbuilder-ai/botbuilder/ai/qna/dialogs/qnamaker_dialog.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -395,6 +395,7 @@ async def __check_for_multiturn_prompt(self, step_context: WaterfallStepContext)
395395
previous_context_data = ObjectPath.get_path_value(
396396
step_context.active_dialog.state,
397397
QnAMakerDialog.KEY_QNA_CONTEXT_DATA,
398+
{}
398399
)
399400
for prompt in answer.context.prompts:
400401
previous_context_data[prompt.display_text] = prompt.qna_id

0 commit comments

Comments
 (0)
0