sqlalchemy.events SchemaEventTarget Example Code

SchemaEventTarget is a class within the sqlalchemy.events module of the SQLAlchemy project.

Example 1 from alembic

Alembic (project documentation and PyPI page) is a data migrations tool used with SQLAlchemy to make database schema changes. The Alembic project is open sourced under the MIT license.

alembic / alembic / operations / batch.py