]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
support omission of standard event listen example
authorMike Bayer <mike_mp@zzzcomputing.com>
Tue, 2 Sep 2025 15:10:51 +0000 (11:10 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 2 Sep 2025 15:36:56 +0000 (11:36 -0400)
commite0c01a87f5eae3e5264ce28bc2241bc8f8b70c1a
treef185427fd6cb7fddf7e5a5d778c42127010fcecf
parent4bbbc24c930feb6130b196358db017a5a59e3a80
support omission of standard event listen example

The required targets for before_configured() and after_configured()
are the Mapper (and soon to include registry things as well in 2.1),
update the automatic doc example thing to be able to be skipped
when there are special instructions for the target.

Also updates the event docs a bit, which were very old and
written in more of that "disorganized wall of details" style
that was very hard to unlearn

Change-Id: I729d08e25b721f4c993aa1856038b27643fc95d0
(cherry picked from commit 3544d89d2de0e910afc3648fe1d34c96900b101b)
lib/sqlalchemy/event/__init__.py
lib/sqlalchemy/event/legacy.py
lib/sqlalchemy/orm/events.py