Skip to content

Commit

Permalink
Fix return type annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
NeonDaniel committed Oct 10, 2023
1 parent 5869a89 commit b3e277b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ovos_workshop/skills/common_query_skill.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit b3e277b

Please sign in to comment.