Skip to content

Ignore find_correct_function for custom_filters callback#183

Merged
edgurgel merged 1 commit intoedgurgel:mainfrom
drtheuns-enreach:main
Oct 30, 2025
Merged

Ignore find_correct_function for custom_filters callback#183
edgurgel merged 1 commit intoedgurgel:mainfrom
drtheuns-enreach:main

Conversation

@drtheuns-enreach
Copy link
Contributor

In my previous MR I added the callback version of custom_filters. Sadly, I missed the case where, if the custom function called apply and it resulted in an UndefinedFunctionError, then the find_correct_function would be called but because it's a function instead of a module, module.__info__(:functions) will fail.

@edgurgel
Copy link
Owner

Thanks, @drtheuns-enreach !

@edgurgel edgurgel merged commit db0ad08 into edgurgel:main Oct 30, 2025
3 checks passed
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.

2 participants