python-attrs
cattrs
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Performance History
Latest Results
Fix wrong parameter name in namedtuple_dict_structure_factory (#723) * Fix wrong parameter name in namedtuple_dict_structure_factory The call to make_dict_structure_fn_from_attrs passes _cattrs_use_detailed_validation but the function expects _cattrs_detailed_validation. Because **kwargs catches the misnamed parameter as an attribute override, detailed_validation is silently ignored and always falls back to the converter default. * Add regression test and changelog for namedtuple detailed_validation fix Add a test that verifies the detailed_validation parameter passed to namedtuple_dict_structure_factory is actually used and not silently ignored. Also add a HISTORY.md entry for the fix. * Fix namedtuple validation test --------- Co-authored-by: Tin Tvrtkovic <tinchester@gmail.com>
main
5 days ago
Fix namedtuple validation test
bysiber:fix/namedtuple-detailed-validation-param
5 days ago
Add history entry
EpicWink:literal-exception
11 days ago
Add history entry
EpicWink:literal-exception
11 days ago
Avoid raising plain exception
EpicWink:literal-exception
11 days ago
Return factory from hook factory decorator functions register_unstructure_hook_factory and register_structure_hook_factory can be used as decorators, but the inner decorator function doesn't return the factory. This means: @converter.register_structure_hook_factory(has) def my_factory(type): ... # my_factory is now None The type annotations declare these decorators should return the factory (Callable[[Factory], Factory]) and the non-decorator path already works correctly. This just adds the missing return statement.
bysiber:fix/hook-factory-decorator-return
12 days ago
Working set fix (#722) * Add failing test * Implement the fix * Document the test --------- Co-authored-by: Matthieu Melot <matthieu.melot@gmail.com>
main
14 days ago
Document the test
mm-andritz:working_set_fix
14 days ago
Active Branches
Avoid raising plain exception
last run
11 days ago
#728
CodSpeed Performance Gauge
0%
Return factory from hook factory decorator functions
last run
12 days ago
#724
CodSpeed Performance Gauge
-1%
Save and restore working_set in include_subclasses
last run
15 days ago
#726
CodSpeed Performance Gauge
-1%
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs