Stress that attr isn't going anywhere

This commit is contained in:
Hynek Schlawack 2021-12-27 08:33:39 +01:00
parent 4db5819312
commit 9564113ebf
1 changed files with 2 additions and 2 deletions

View File

@ -82,8 +82,8 @@ No problem!
Types are entirely **optional** with ``attrs``. Types are entirely **optional** with ``attrs``.
Simply assign ``attrs.field()`` to the attributes instead of annotating them with types. Simply assign ``attrs.field()`` to the attributes instead of annotating them with types.
This example uses ``attrs``'s `modern APIs <https://www.attrs.org/en/stable/api.html#next-generation-apis>`_ that have been introduced in version 20.1.0, and the ``attrs`` import namespace that has been added in version 21.3.0. This example uses ``attrs``'s `modern APIs <https://www.attrs.org/en/stable/api.html#next-generation-apis>`_ that have been introduced in version 20.1.0, and the ``attrs`` package import name that has been added in version 21.3.0.
The classic APIs (``@attr.s``, ``attr.ib``, and their serious business aliases) will remain indefinitely. The classic APIs (``@attr.s``, ``attr.ib``, plus their serious business aliases) and the ``attr`` package import name will remain **indefinitely**.
Please check out `On The Core API Names <https://www.attrs.org/en/latest/names.html>`_ for a more in-depth explanation. Please check out `On The Core API Names <https://www.attrs.org/en/latest/names.html>`_ for a more in-depth explanation.