Skip to content

Commit

Permalink
rm pyaml dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
JarbasAl committed May 7, 2022
1 parent 11ca7e6 commit 1944fc2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 4 additions & 1 deletion ovos_utils/intents/intent_service_interface.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from os.path import exists, isfile

from adapt.intent import Intent

from mycroft_bus_client import MessageBusClient
from mycroft_bus_client.message import Message, dig_for_message
from ovos_utils import create_daemon
Expand Down Expand Up @@ -502,6 +502,9 @@ def get_keywords_manifest(self):

def open_intent_envelope(message):
"""Convert dictionary received over messagebus to Intent."""
# TODO can this method be fully removed from ovos_utils ?
from adapt.intent import Intent

intent_dict = message.data
return Intent(intent_dict.get('name'),
intent_dict.get('requires'),
Expand Down
3 changes: 1 addition & 2 deletions requirements/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@ mycroft-messagebus-client~=0.9.1,!=0.9.2,!=0.9.3
pexpect~=4.8
requests~=2.26
json_database~=0.7
kthread~=0.2
PyYAML~=5.4
kthread~=0.2

0 comments on commit 1944fc2

Please sign in to comment.