Add support for generator functions as on setattr hooks in attrs.define / attr.s classes (both attrs.field /…
Add support for generator functions as on setattr hooks in attrs.define / attr.s classes (both attrs.field /…: a task in UltraTerminal (Harbor dataset). A generator hook must yield exactly once. The yielded value is used as the new attribute value (replacing the incoming value), and any code after…
The task
A generator hook must yield exactly once. The yielded value is used as the new attribute value (replacing the incoming value), and any code after the `yield` runs after the attribute has been stored on the instance.
Part of harness-hub/UltraTerminal.