- update to 26.1.0:
* Field aliases are now resolved *before* calling
`field_transformer`, so transformers receive fully populated
`Attribute` objects with usable `alias` values instead of
`None`.
* The new `Attribute.alias_is_default` flag indicates whether
the alias was auto-generated (`True`) or explicitly set by
the user (`False`).
* Fix type annotations for `attrs.validators.optional()`, so it
no longer rejects tuples with more than one validator.
* The `attrs.validators.disabled()` contextmanager can now be
nested.
* Frozen classes can set `on_setattr=attrs.setters.NO_OP` in
addition to `None`.
* It's now possible to pass *attrs* **instances** in addition
to *attrs* **classes** to `attrs.fields()`.
OBS-URL: https://build.opensuse.org/request/show/1343785
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-attrs?expand=0&rev=29
Description
No description provided
Languages
RPM Spec
100%