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

Add back backwards-compat imports #434

Merged
merged 2 commits into from
Apr 5, 2024
Merged
Show file tree
Hide file tree
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
7 changes: 6 additions & 1 deletion mycroft/skills/intent_services/adapt_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,10 @@
"""An intent parsing service using the Adapt parser."""
from adapt.context import ContextManagerFrame
from adapt.engine import IntentDeterminationEngine
from ovos_workshop.intents import Intent as AdaptIntent, IntentBuilder, Intent
from ovos_workshop.intents import IntentBuilder, Intent
from ovos_core.intent_services.adapt_service import ContextManager, AdaptService


class AdaptIntent(IntentBuilder):
def __init__(self, name=''):
super().__init__(name)
5 changes: 5 additions & 0 deletions mycroft/util/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,8 @@
get_ipc_directory
from mycroft.util.platform import get_arch
from ovos_utils.log import init_service_logger, LOG


def record(*args, **kwargs):
from mycroft.util.audio_test import record
record(*args, **kwargs)
Loading