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

[bugfix][WIP] Fix the bug of language supporting detection function of component #6803

Merged

Conversation

howl-anderson
Copy link
Contributor

Proposed changes:

  • supported_langauge_list and not_supported_language_list are not allowed be setted in same time.
  • update the implement of can_handle_language function

fix #6802

Status (please check what you already did):

  • added some tests for the functionality
  • updated the documentation
  • updated the changelog (please check changelog for instructions)
  • reformat files using black (please check Readme for instructions)

@sara-tagger
Copy link
Collaborator

Thanks for submitting a pull request 🚀 @dakshvar22 will take a look at it as soon as possible ✨

Copy link
Contributor

@dakshvar22 dakshvar22 left a comment

Choose a reason for hiding this comment

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

Thanks a lot for trying to fix this! 🚀
Left a couple of copy edit suggestions and requested a change in the logic at one place.
Also, can you please add a test for this so that it doesn't fail in future?

changelog/6803.bugfix.md Outdated Show resolved Hide resolved
rasa/nlu/components.py Outdated Show resolved Hide resolved
rasa/nlu/components.py Outdated Show resolved Hide resolved
rasa/nlu/components.py Outdated Show resolved Hide resolved
@dakshvar22 dakshvar22 changed the base branch from master to 2.0.x October 6, 2020 10:06
@dakshvar22 dakshvar22 changed the base branch from 2.0.x to master October 6, 2020 10:07
@howl-anderson
Copy link
Contributor Author

Hi @dakshvar22, I just rebase the PR to 2.0.x, it should works now.

@dakshvar22 dakshvar22 changed the base branch from master to 2.0.x October 6, 2020 10:20
@dakshvar22 dakshvar22 self-requested a review October 6, 2020 11:24
changelog/6803.bugfix.md Outdated Show resolved Hide resolved
Copy link
Contributor

@dakshvar22 dakshvar22 left a comment

Choose a reason for hiding this comment

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

🚀

@howl-anderson
Copy link
Contributor Author

@dakshvar22 Can I merge this PR into the master branch, so I can merge this bugfix into PR #6753 which relay on this.

@howl-anderson
Copy link
Contributor Author

@dakshvar22 I just read that the 2.0.x was merged into master a few hours ago though commit fe33091, sorry for the previous message.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

A bug with language supporting detection function of component
8 participants