diff options
| author | mike bayer <mike_mp@zzzcomputing.com> | 2021-09-28 18:12:51 +0000 |
|---|---|---|
| committer | Gerrit Code Review <gerrit@ci3.zzzcomputing.com> | 2021-09-28 18:12:51 +0000 |
| commit | 37e5de8411939ab2557f368ca02f053904bb82b9 (patch) | |
| tree | 21e6f06216b68125fa0249a3a93af4262e8dce47 /lib/sqlalchemy/sql | |
| parent | d78de9e89468ab752fbe15bbc6f699bbe353b7b6 (diff) | |
| parent | e40bd0b565dd52f45e25371a2b5fd199cff92b32 (diff) | |
| download | sqlalchemy-37e5de8411939ab2557f368ca02f053904bb82b9.tar.gz | |
Merge "Fixes: #5151"
Diffstat (limited to 'lib/sqlalchemy/sql')
| -rw-r--r-- | lib/sqlalchemy/sql/events.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/sqlalchemy/sql/events.py b/lib/sqlalchemy/sql/events.py index a6c5c8e28..db80b51e3 100644 --- a/lib/sqlalchemy/sql/events.py +++ b/lib/sqlalchemy/sql/events.py @@ -105,12 +105,17 @@ class DDLEvents(event.Events): event, the checkfirst flag, and other elements used by internal events. - :func:`.event.listen` also accepts the ``propagate=True`` + :func:`.event.listen` accepts the ``propagate=True`` modifier for this event; when True, the listener function will be established for any copies made of the target object, i.e. those copies that are generated when :meth:`_schema.Table.to_metadata` is used. + :func:`.event.listen` accepts the ``insert=True`` + modifier for this event; when True, the listener function will + be prepended to the internal list of events upon discovery, and execute + before registered listener functions that do not pass this argument. + """ def after_create(self, target, connection, **kw): |
