Skip to content
This repository has been archived by the owner on Sep 8, 2024. It is now read-only.

Remove intent-service backwards compatibilities #2849

Merged
merged 1 commit into from
Mar 11, 2021

Conversation

forslund
Copy link
Collaborator

@forslund forslund commented Mar 7, 2021

Description

This removes the now unused and deprecated imports and message handling code left to keep compatibility when the intent_service.py was refactored.

  • Remove unused ContextManager import from mycroft.skills.intent_service
  • Remove Old 'intent_failure' -> fallback handler
  • Remove handling of fallback messages without the fallback_range parameter

How to test

Make sure the intents work properly still.

Contributor license agreement signed?

CLA [ yes ] (Whether you have signed a CLA - Contributor Licensing Agreement

@forslund forslund added the Type: Refactoring and other improvements Improvement of code and documentation that does not alter functionality. label Mar 7, 2021
@devops-mycroft devops-mycroft added the CLA: Yes Contributor License Agreement exists (see https://github.com/MycroftAI/contributors) label Mar 7, 2021
@devops-mycroft
Copy link

Voight Kampff Integration Test Succeeded (Results)

- Remove unused ContextManager import from mycroft.skills.intent_service
- Remove Old 'intent_failure' -> fallback handler
- Remove handling of fallback messages without the fallback_range
parameter
@forslund forslund force-pushed the refactor/clean-intent-service branch from aa62634 to 203e1fc Compare March 7, 2021 12:00
@devops-mycroft
Copy link

Voight Kampff Integration Test Succeeded (Results)

Copy link
Contributor

@krisgesling krisgesling left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yay for cleaning!

@krisgesling krisgesling merged commit a399b19 into MycroftAI:dev Mar 11, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
CLA: Yes Contributor License Agreement exists (see https://github.com/MycroftAI/contributors) Type: Refactoring and other improvements Improvement of code and documentation that does not alter functionality.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants