2021-04-06 05:18:43 +00:00
|
|
|
``__attrs__init__()`` will now be injected if ``init=False``, or if ``auto_detect=True`` and a user-defined ``__init__()`` exists.
|
2021-01-23 12:03:04 +00:00
|
|
|
|
|
|
|
This enables users to do "pre-init" work in their ``__init__()`` (such as ``super().__init__()``).
|
|
|
|
|
2021-04-06 05:18:43 +00:00
|
|
|
``__init__()`` can then delegate constructor argument processing to ``self.__attrs_init__(*args, **kwargs)``.
|