Events and Internals — SQLAlchemy 2.0.0b1 documentation
From Get docs
Sqlalchemy/docs/latest/orm/extending
Events and Internals
The SQLAlchemy ORM as well as Core are extended generally through the use of event hooks. Be sure to review the use of the event system in general at Events.