Closed Wizzerinus closed 7 months ago
As the bytes
type can be checked directly, there is no need for this. The checker_lookup_functions
hook collection is not intended for custom validation messages.
I should've added that the hook is intended for special types that are not checkable via a simple isinstance()
.
Things to check first
[X] I have searched the existing issues and didn't find my bug already reported there
[X] I have checked that my bug is still present in the latest release
Typeguard version
4.1.5
Python version
3.11.6
What happened?
See in the section below. I cannot really describe this bug efficiently aside from the title and that, apologies.
How can we reproduce the bug?