]> git.ipfire.org Git - thirdparty/sqlalchemy/alembic.git/commitdiff
add missing import in asyncion cookbook example
authorCaselIT <cfederico87@gmail.com>
Tue, 21 Dec 2021 19:27:01 +0000 (20:27 +0100)
committerCaselIT <cfederico87@gmail.com>
Tue, 21 Dec 2021 19:27:01 +0000 (20:27 +0100)
Change-Id: Idda470d2aa7df298e5553359be1ced07e2c112d0

docs/build/cookbook.rst

index e464cc8b6d4d1be444997821c65e54861816dac4..b5a4bb943c67fb4ea08045e19c0c9fe3385cbd24 100644 (file)
@@ -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