]> git.ipfire.org Git - thirdparty/sqlalchemy/alembic.git/commit
Include missing part of env.py
authorSam Bull <aa6bs0@sambull.org>
Mon, 13 Feb 2023 20:36:06 +0000 (15:36 -0500)
committerCaselIT <cfederico87@gmail.com>
Mon, 13 Feb 2023 21:10:00 +0000 (22:10 +0100)
commite96972108d3ecd0b723019b30fa80e0e5cdf0719
treea0721d6b058da65af5f2c27b3fe6f9bfbcc6f619
parentcdc68e3ca75c3dbc346a60ed7988dd821108cdcd
Include missing part of env.py

This part is missing from the example, and if a user started with the async template, then they would have an `asyncio.run()` call in here, which breaks the script.

Fixes: #1174
Closes: #1172
Pull-request: https://github.com/sqlalchemy/alembic/pull/1172
Pull-request-sha: fa2c55319d09fab4e1435433fa2d7e5fca5dc820

Change-Id: Ia98c8f9a93953f049378f5029e355a3f249ed638
alembic/templates/async/env.py
alembic/templates/generic/env.py
alembic/templates/multidb/env.py
docs/build/cookbook.rst