Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deprecation warnings #111

Merged
merged 1 commit into from
Sep 5, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions ovos_bus_client/session.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

from ovos_config.config import Configuration
from ovos_config.locale import get_default_lang
from ovos_utils.log import LOG
from ovos_utils.log import LOG, log_deprecation

from ovos_bus_client.message import dig_for_message, Message

Expand Down Expand Up @@ -289,9 +289,9 @@ def __init__(self, session_id: str = None,
@param context: IntentContextManager for this Session
"""
if tts_prefs:
LOG.warning("tts_prefs have been deprecated! value will be ignored and fully removed in 0.1.0")
log_deprecation("'tts_prefs' kwarg has been deprecated! value will be ignored", "0.1.0")
if stt_prefs:
LOG.warning("stt_prefs have been deprecated! value will be ignored and fully removed in 0.1.0")
log_deprecation("'stt_prefs' kwarg has been deprecated! value will be ignored", "0.1.0")
self.session_id = session_id or str(uuid4())
self.blacklisted_skills = (blacklisted_skills or
Configuration().get("skills", {}).get("blacklisted_skills", []))
Expand Down