Skip to content

Commit

Permalink
fix:Typing
Browse files Browse the repository at this point in the history
  • Loading branch information
JarbasAl committed Oct 16, 2024
1 parent d7096fe commit b3c324c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ovos_core/intent_services/stop_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -291,14 +291,14 @@ def voc_match(self, utt: str, voc_filename: str, lang: str,
for i in _vocs])
return False

@deprecated("match_stop_low has been renamed to match_low", "2.0.0")
@deprecated("'match_stop_low' has been renamed to 'match_low'", "2.0.0")
def match_stop_low(self, utterances: List[str], lang: str, message: Message = None) -> Optional[PipelineMatch]:
return self.match_low(utterances, lang, message)

@deprecated("match_stop_medium has been renamed to match_medium", "2.0.0")
@deprecated("'match_stop_medium' has been renamed to 'match_medium'", "2.0.0")
def match_stop_medium(self, utterances: List[str], lang: str, message: Message = None) -> Optional[PipelineMatch]:
return self.match_medium(utterances, lang, message)

@deprecated("match_stop_high has been renamed to match_high", "2.0.0")
@deprecated("'match_stop_high' has been renamed to 'match_high'", "2.0.0")
def match_stop_high(self, utterances: List[str], lang: str, message: Message = None) -> Optional[PipelineMatch]:
return self.match_high(utterances, lang, message)

0 comments on commit b3c324c

Please sign in to comment.