--- /dev/null
+.. change::
+ :tags: change, orm
+ :tickets: 10500
+
+ The ``first_init`` ORM event has been removed. This event was
+ non-functional throughout the 1.4 and 2.0 series and could not be invoked
+ without raising an internal error, so it is not expected that there is any
+ real-world use of this event hook.
super()._clear()
_InstanceEventsHold._clear()
- def first_init(self, manager: ClassManager[_O], cls: Type[_O]) -> None:
- """Called when the first instance of a particular mapping is called.
-
- This event is called when the ``__init__`` method of a class
- is called the first time for that particular class. The event
- invokes before ``__init__`` actually proceeds as well as before
- the :meth:`.InstanceEvents.init` event is invoked.
-
- """
-
def init(self, target: _O, args: Any, kwargs: Any) -> None:
"""Receive an instance when its constructor is called.