python-attrs
cattrs
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Performance History
Latest Results
Improve TypedDict key quoting Improves codegen for typeddicts to fix handling keys with single quotes. Signed-off-by: Tin Tvrtkovic <tinchester@gmail.com>
main
3 days ago
Improve TypedDict key quoting Improves codegen for typeddicts to fix handling keys with single quotes. Signed-off-by: Tin Tvrtkovic <tinchester@gmail.com>
tin/fix-typeddicts
3 days ago
Improve TypedDict key quoting Improves codegen for typeddicts to fix handling keys with single quotes.
tin/fix-typeddicts
3 days ago
Improve TypedDict key quoting Improves codegen for typeddicts to fix handling keys with single quotes.
tin/fix-typeddicts
3 days ago
Add HISTORY entry for Counter key unstructure fix (#768)
main
8 days ago
Add HISTORY entry for Counter key unstructure fix (#768)
uttam12331:fix/counter-unstructure-key-arg
8 days ago
Disambiguate unions independent of member class order create_default_dis_func resolved unique discriminator fields in a single fixed-order pass: for each class it subtracted the fields of every not-yet-pinned class, so a class whose fields were all shared with another unpinned class got no unique field and was forced into the single fallback slot. A second such class then raised TypeError, even when a valid assignment existed. Because the order was fixed up front, whether it was found depended on the order the classes were passed in. Resolve unique fields iteratively to a fixpoint instead: on each pass, pin every class that has a non-default field unique among the classes not yet pinned; pinning a class can make a previously ambiguous one uniquely identifiable, so repeat until a pass pins nothing. The single class that still cannot be pinned becomes the fallback, and more than one is a genuine ambiguity (still a TypeError). Fixes #230.
main
1 month ago
Fix typos in comments and documentation Fix minor spelling errors found by codespell: "homogenous" -> "homogeneous", "heterogenous" -> "heterogeneous", "overrrides" -> "overrides", and "sublcasses" -> "subclasses" in docstrings and inline comments across the source files.
main
1 month ago
Latest Branches
CodSpeed Performance Gauge
+1%
Improve TypedDict key quoting
#769
8 days ago
8f3f971
tin/fix-typeddicts
CodSpeed Performance Gauge
-1%
Unpack the single type arg for Counter keys when unstructuring
#768
8 days ago
cca9472
uttam12331:fix/counter-unstructure-key-arg
CodSpeed Performance Gauge
0%
Fix typos in comments and documentation
#766
1 month ago
dadcc90
maxtaran2010:fix/typos
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs
×
Advertisement