Called after a :class:`.SchemaItem` is associated with a parent :class:`.SchemaItem`. :param target: the target object :param parent: the parent to which the target is being attached. :func:`.event.listen` also accepts the ``propagate=True`` modifier for thi
(
self, target: SchemaEventTarget, parent: SchemaItem
)
| 323 | """ |
| 324 | |
| 325 | def after_parent_attach( |
| 326 | self, target: SchemaEventTarget, parent: SchemaItem |
| 327 | ) -> None: |
| 328 | """Called after a :class:`.SchemaItem` is associated with |
| 329 | a parent :class:`.SchemaItem`. |
| 330 | |
| 331 | :param target: the target object |
| 332 | :param parent: the parent to which the target is being attached. |
| 333 | |
| 334 | :func:`.event.listen` also accepts the ``propagate=True`` |
| 335 | modifier for this event; when True, the listener function will |
| 336 | be established for any copies made of the target object, |
| 337 | i.e. those copies that are generated when |
| 338 | :meth:`_schema.Table.to_metadata` is used. |
| 339 | |
| 340 | """ |
| 341 | |
| 342 | def _sa_event_column_added_to_pk_constraint( |
| 343 | self, const: Constraint, col: Column[Any] |
no outgoing calls
no test coverage detected