The input argument feature_names, a required field, is set incorrectly as optional. This conveys an incorrect message to the user and makes it hard to debug when users do not input feature_names in their arguments.
Type of change
[x] Bug fix (non-breaking change which fixes an issue)
List all changes
Make feature_names as a required field
Testing
pytest
Checklist
[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] Any dependent changes have been merged and published in downstream modules
Description
The input argument
feature_names
, a required field, is set incorrectly as optional. This conveys an incorrect message to the user and makes it hard to debug when users do not inputfeature_names
in their arguments.Type of change
List all changes
feature_names
as a required fieldTesting
Checklist