From: CaselIT Date: Tue, 21 Dec 2021 19:27:01 +0000 (+0100) Subject: add missing import in asyncion cookbook example X-Git-Tag: rel_1_7_6~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1364bbf9b782178cad66ca22783dde1ba8353fde;p=thirdparty%2Fsqlalchemy%2Falembic.git add missing import in asyncion cookbook example Change-Id: Idda470d2aa7df298e5553359be1ced07e2c112d0 --- diff --git a/docs/build/cookbook.rst b/docs/build/cookbook.rst index e464cc8b..b5a4bb94 100644 --- a/docs/build/cookbook.rst +++ b/docs/build/cookbook.rst @@ -1455,7 +1455,9 @@ file that's used by Alembic to start its operations. In particular only ``run_migrations_online`` will need to be updated to be something like the example below:: import asyncio - + + from sqlalchemy.ext.asyncio import AsyncEngine + # ... no change required to the rest of the code