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/numericese all #1119

Merged
merged 2 commits into from
Oct 9, 2022
Merged

Bugfix/numericese all #1119

merged 2 commits into from
Oct 9, 2022

Conversation

lavigne958
Copy link
Collaborator

Prevent crash when passing None to numericise_all

When a user passes None as a list to ignore to the function
numericise_all it crashes because it tries to iterate over the list.
cover that case be setting the ignored list to an empty list if not set.

Later solution will be to add typing to this project.

closes #1118

When a user passes `None` as a list to ignore to the function
`numericise_all` it crashes because it tries to iterate over the list.

cover that case be setting the ignored list to an empty list if not set.

Later solution will be to add typing to this project.

closes #1118
this is to prevent error with older version that pulls importlib-metadata==5.0.0
and does not work. This new version sets a upper bound on importlib-metadata version.
@lavigne958 lavigne958 self-assigned this Oct 6, 2022
@lavigne958 lavigne958 merged commit 3e5745d into master Oct 9, 2022
@lavigne958 lavigne958 deleted the bugfix/numericese_all branch October 29, 2022 15:44
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.

API breakage in get_all_records / numericise_all fix
1 participant