-
Notifications
You must be signed in to change notification settings - Fork 2.2k
refactor: remove module from typename #2486
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
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2486 +/- ##
==========================================
+ Coverage 84.28% 87.07% +2.79%
==========================================
Files 153 153
Lines 9449 9449
==========================================
+ Hits 7964 8228 +264
+ Misses 1485 1221 -264
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
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.
may u add a test for this?
py_metas_name = py_executor.metas.name | ||
py_typename = typename(py_executor) | ||
|
||
assert jaml_metas_name == py_metas_name |
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.
and what is the expected value for each of these?
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.
make sure u rebase with master to pass checks |
649e059
to
d72f2d9
Compare
I don't think the failing checks are caused by the rebase. I just rebased and the problem is still there. |
…ace-index-folder-names
The following problems occurred when running examples in the 2.0 API:
When indexing or searching by yml file Flow.load_config(...), the index files are stored in
When I do the same using the Python syntax Flow().add(...), then the index files are stored in
This causes problems when you want to index via yml file, but search using the Python only interface.
This PR adresses this problem by removing the module name from the folder name.