r"""Called after DROP statements are emitted. :param target: the :class:`.SchemaObject`, such as a :class:`_schema.MetaData` or :class:`_schema.Table` but also including all create/drop objects such as :class:`.Index`, :class:`.Sequence`, etc., object whi
(
self, target: SchemaEventTarget, connection: Connection, **kw: Any
)
| 275 | """ |
| 276 | |
| 277 | def after_drop( |
| 278 | self, target: SchemaEventTarget, connection: Connection, **kw: Any |
| 279 | ) -> None: |
| 280 | r"""Called after DROP statements are emitted. |
| 281 | |
| 282 | :param target: the :class:`.SchemaObject`, such as a |
| 283 | :class:`_schema.MetaData` or :class:`_schema.Table` |
| 284 | but also including all create/drop objects such as |
| 285 | :class:`.Index`, :class:`.Sequence`, etc., |
| 286 | object which is the target of the event. |
| 287 | |
| 288 | .. versionadded:: 2.0 Support for all :class:`.SchemaItem` objects |
| 289 | was added. |
| 290 | |
| 291 | :param connection: the :class:`_engine.Connection` where the |
| 292 | DROP statement or statements have been emitted. |
| 293 | :param \**kw: additional keyword arguments relevant |
| 294 | to the event. The contents of this dictionary |
| 295 | may vary across releases, and include the |
| 296 | list of tables being generated for a metadata-level |
| 297 | event, the checkfirst flag, and other |
| 298 | elements used by internal events. |
| 299 | |
| 300 | :func:`.event.listen` also accepts the ``propagate=True`` |
| 301 | modifier for this event; when True, the listener function will |
| 302 | be established for any copies made of the target object, |
| 303 | i.e. those copies that are generated when |
| 304 | :meth:`_schema.Table.to_metadata` is used. |
| 305 | |
| 306 | """ |
| 307 | |
| 308 | def before_parent_attach( |
| 309 | self, target: SchemaEventTarget, parent: SchemaItem |
no outgoing calls