From 740a70bd364a8fd511d80244bc750c2d78d2cce6 Mon Sep 17 00:00:00 2001 From: "Ariel Kanterewicz (EY)" <68709979+asdkant-ey@users.noreply.github.com> Date: Tue, 29 Dec 2020 13:00:19 -0300 Subject: [PATCH] fix type annotation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit VSCode's pylance complained about this, the message was: ``` List expression not allowed in type annotation   Use List[T] instead ``` It'd be a good idea to scan all the code for other occurrences of the issue. --- .../botbuilder-ai/botbuilder/ai/qna/utils/qna_card_builder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/botbuilder-ai/botbuilder/ai/qna/utils/qna_card_builder.py b/libraries/botbuilder-ai/botbuilder/ai/qna/utils/qna_card_builder.py index e450b4ef2..2112b9dc7 100644 --- a/libraries/botbuilder-ai/botbuilder/ai/qna/utils/qna_card_builder.py +++ b/libraries/botbuilder-ai/botbuilder/ai/qna/utils/qna_card_builder.py @@ -14,7 +14,7 @@ class QnACardBuilder: @staticmethod def get_suggestions_card( - suggestions: [str], card_title: str, card_no_match: str + suggestions: List[str], card_title: str, card_no_match: str ) -> Activity: """ Get active learning suggestions card.