-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Change --data type in 'rasa data validate' command #8225
Conversation
@ArjaanBuijk |
Thanks for opening a draft pull request 🚀If you have any questions, you can direct them to @JustinaPetr ✨ |
@martasls , I think you still have to sign the Contributor License Agreement (see the link above), which must be done before we can merge it. |
@wochinge , It all looks good to me and I tested the updates, but wanted to make sure before I merge it in. |
@martasls , |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the contribution! Can you please add a changelog entry?
Hi @wochinge, should I enter an entry under the latest version? |
@wochinge , |
A new file called
tbh no, but it's not required for the merge afaik. |
Hi Arjaan, it does look like those failing tests are still related with converting files (using the data command). I'll try to have a look tomorrow! |
Hi @ArjaanBuijk , could you approve the workflow? Thanks! |
@ArjaanBuijk As far as I can see from the logs, the failures are related to the changes, or am I missing something? The errors mention the |
Hi @mprazz, |
Hi @ArjaanBuijk,
|
Hi @ArjaanBuijk, only the Code Quality test is failing now. I went ahead and added docstrings for the convert_training_data method which was causing the test to fail. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I went through everything in detail again, and it all looks great. Awesome job.
I noticed that there is a new binary file called other
. Was this checked in by accident?
I saw it was added with commit 2a9b90: Fix data path in convert data method
.
Done! |
@martasls , |
Ah sorry, one last commit (hopefully). There was a blank line after the docstring. |
@martasls , Note that you can run that test locally as well with: $ make types
rasa/nlu/convert.py:28: error: Value of type variable "AnyStr" of "exists" cannot be "Sequence[Any]" [type-var]
Found 1 error in 1 file (checked 258 source files)
make: *** [Makefile:105: types] Error 1 |
Thanks. I wasn't aware of this mypy test. Hope it's fixed now (I ran it locally and it seemed ok)! |
It all passed and it is merged! Thanks you so much for your contribution and getting it updated to pass all these tests. |
Thanks for the help and availability! |
Proposed changes:
Status (please check what you already did):
black
(please check Readme for instructions)