python-attrs
attrs
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Performance History
Latest Results
[pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci
veeceey:fix/issue-1479
2 hours ago
Use iterable unpacking instead of list concatenation (RUF005)
veeceey:fix/issue-1479
2 hours ago
Fix CI failures: update doctest, add changelog, fix coverage - Update extending.md doctest to reflect that field_transformer now receives pre-resolved aliases (use alias == name.lstrip("_") instead of `not field.alias` to detect auto-generated aliases) - Add changelog entry for #1479 - Add test_hook_new_field_without_alias to cover the post-transformer alias resolution path (line 496 of _make.py) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
veeceey:fix/issue-1479
3 days ago
Resolve field aliases before calling field_transformer Previously, field_transformer received attributes with alias=None for fields without an explicit alias. The default alias (e.g., stripping leading underscores) was only resolved after the transformer ran, making it impossible for transformers to access or use alias values. This moves alias resolution to before the field_transformer call, so transformers receive fully populated Attribute objects. A second pass after the transformer handles any new fields the transformer may have added. Additionally, Attribute.evolve() now automatically updates the alias when the name changes, if the alias was auto-generated (matching the default for the old name). Explicit aliases are preserved. Fixes #1479 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
veeceey:fix/issue-1479
3 days ago
update dev (#1507)
main
8 days ago
update dev
update-dev
8 days ago
Bump the github-actions group with 2 updates Bumps the github-actions group with 2 updates: [actions/checkout](https://github.com/actions/checkout) and [actions/setup-python](https://github.com/actions/setup-python). Updates `actions/checkout` from 6.0.1 to 6.0.2 - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/8e8c483db84b4bee98b60c0593521ed34d9990e8...de0fac2e4500dabe0009e67214ff5f5447ce83dd) Updates `actions/setup-python` from 6.1.0 to 6.2.0 - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](https://github.com/actions/setup-python/compare/83679a892e2d95755f2dac6acb0bfd1e9ac5d548...a309ff8b426b58ec0e2a45f0f869d46889d02405) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: 6.0.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: github-actions - dependency-name: actions/setup-python dependency-version: 6.2.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: github-actions ... Signed-off-by: dependabot[bot] <support@github.com>
dependabot/github_actions/github-actions-a4547b9067
11 days ago
update dev (#1502)
main
21 days ago
Active Branches
Resolve field aliases before calling field_transformer
last run
2 hours ago
#1509
CodSpeed Performance Gauge
0%
Replace cached_property on slotted classes with a new descriptor instead of writing `__getattr__`
last run
2 months ago
#1488
CodSpeed Performance Gauge
-72%
Add `reuse()` to `Attribute` for field evolution
last run
8 months ago
#1429
CodSpeed Performance Gauge
0%
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs