Skip to content

Commit 2971403

Browse files
committed
deprecation logs
1 parent d3b0c85 commit 2971403

File tree

8 files changed

+13
-3
lines changed

8 files changed

+13
-3
lines changed

mycroft/skills/intent_services/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@
1111
except ImportError:
1212
from ovos_utils.log import LOG
1313
LOG.warning("padatious not installed")
14-
from ovos_core.intent_services.padacioso_service import PadaciosoService as PadatiousService
14+
from padacioso.opm import PadaciosoPipeline as PadatiousService
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
from ovos_core.intent_services.commonqa_service import CommonQAService
1+
from ovos_commonqa.opm import CommonQAService
22
EXTENSION_TIME = 10

mycroft/skills/intent_services/padatious_service.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@
1313
# limitations under the License.
1414
#
1515
"""Intent service wrapping padatious."""
16-
from ovos_core.intent_services.padatious_service import PadatiousMatcher, PadatiousService, PadatiousIntent
16+
from ovos_padatious.opm import PadatiousMatcher, PadatiousPipeline as PadatiousService, PadatiousIntent
1717

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
# backwards compat import
22
from ovos_adapt.opm import AdaptPipeline as AdaptService
3+
from ovos_utils.log import log_deprecation
4+
log_deprecation("adapt service moved to 'ovos-adapt-pipeline-plugin'. this import is deprecated", "1.0.0")
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
11
from ovos_commonqa.opm import Query, CommonQAService
2+
from ovos_utils.log import log_deprecation
3+
log_deprecation("adapt service moved to 'ovos-common-query-pipeline-plugin'. this import is deprecated", "1.0.0")
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
# backwards compat imports
22
from ocp_pipeline.opm import OCPPipelineMatcher, OCPFeaturizer, OCPPlayerProxy
3+
from ovos_utils.log import log_deprecation
4+
log_deprecation("adapt service moved to 'ovos-ocp-pipeline-plugin'. this import is deprecated", "1.0.0")
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
# backwards compat imports
22
from padacioso.opm import PadaciosoPipeline as PadaciosoService, PadaciosoIntent
33
from padacioso import IntentContainer as FallbackIntentContainer
4+
from ovos_utils.log import log_deprecation
5+
log_deprecation("adapt service moved to 'padacioso.opm'. this import is deprecated", "1.0.0")
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
# backwards compat imports
22
from ovos_padatious.opm import PadatiousMatcher, PadatiousPipeline as PadatiousService
3+
from ovos_utils.log import log_deprecation
4+
log_deprecation("adapt service moved to 'ovos-padatious-pipeline-plugin'. this import is deprecated", "1.0.0")

0 commit comments

Comments
 (0)