You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Incorrect typing for register_structure_hook() and register_unstructure_hook() #581
Custom (un)structuring hooks appear to have incorrect typing information. cattrs v24.1.1 already seems to have fixed this for the factory variant, as described in #578 and #579, but the individual hooks still seem to be incorrect.
Activity
Tinche commentedon Sep 16, 2024
Bleh, guess I need to do another pass on this.
Wish there was a good way to test types; I've used the pytest-mypy-plugins package on a branch but wasn't super happy with it.
Tinche commentedon Sep 22, 2024
Alright, think I got this fixed. Thanks!
JimDabell commentedon Sep 27, 2024
Just confirming that’s fixed for me. Thanks!