Skip to content

Commit

Permalink
Mark neon_must_respond method as deprecated (#505)
Browse files Browse the repository at this point in the history
Co-authored-by: Daniel McKnight <[email protected]>
  • Loading branch information
NeonDaniel and NeonDaniel authored Mar 7, 2024
1 parent d16c364 commit e4a1189
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions neon_utils/message_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@
from time import time
from typing import Optional, Union
from ovos_bus_client import Message
from ovos_utils.log import deprecated

from neon_utils.logger import LOG


Expand Down Expand Up @@ -263,6 +265,7 @@ def build_message(kind: Union[MessageKind, str], utt: str, message: Message,
**added_context})


@deprecated("Neon will always provide a response to API inputs.", "2.0.0")
@resolve_message
def neon_must_respond(message: Message = None) -> bool:
"""
Expand Down

0 comments on commit e4a1189

Please sign in to comment.