We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3b0378d commit ba3bbfeCopy full SHA for ba3bbfe
changelog.d/1417.change.md
@@ -0,0 +1 @@
1
+Restore support for generator-based `field_transformer`s.
tests/test_hooks.py
@@ -219,9 +219,9 @@ class C:
219
220
def test_hook_generator(self):
221
"""
222
- Ensure that `attrs.fields` are correctly recorded when field_transformer is a generator
+ field_transfromers can be a generators.
223
224
- Regression test for #1417
+ Regression test for #1416.
225
226
227
def hook(cls, attribs):
0 commit comments