sqlalchemy.engine.strategies MockEngineStrategy Example Code

MockEngineStrategy is a class within the sqlalchemy.engine.strategies module of the SQLAlchemy project.

EngineStrategy is another callable from the sqlalchemy.engine.strategies package with code examples.

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 / runtime / migration.py