diff --git a/ovos_workshop/skills/common_query_skill.py b/ovos_workshop/skills/common_query_skill.py index ae4c759b..86e99038 100644 --- a/ovos_workshop/skills/common_query_skill.py +++ b/ovos_workshop/skills/common_query_skill.py @@ -13,7 +13,7 @@ from abc import abstractmethod from enum import IntEnum from os.path import dirname -from typing import List, Optional +from typing import List, Optional, Tuple from ovos_bus_client import Message from ovos_utils.file_utils import resolve_resource_file @@ -257,7 +257,7 @@ def __handle_query_action(self, message: Message): @abstractmethod def CQS_match_query_phrase(self, phrase: str) -> \ - Optional[(str, CQSMatchLevel, Optional[dict])]: + Optional[Tuple[str, CQSMatchLevel, Optional[dict]]]: """ Determine an answer to the input phrase and return match information, or `None` if no answer can be determined.