Closed nstarman closed 3 months ago
Agreed, that sounds reasonable! See #216.
To be precise, it will still decorate the object because the import hook puts in underneath the typing.no_type_check
decorator. But if the inserted decorator itself has a __no_type_check__
attribute, we disable ourselves.
If a function is decorated with
typing.no_type_check
then it would be great ifjaxtyping.install_import_hook
would skip decorating that object. Thanks!