summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaselIT <cfederico87@gmail.com>2021-12-21 20:27:01 +0100
committerCaselIT <cfederico87@gmail.com>2021-12-21 20:27:01 +0100
commit1364bbf9b782178cad66ca22783dde1ba8353fde (patch)
tree20be96c7619c2161a9e0e0bae00706deb08ace00
parentfa931a444b078df031280a580b9768193e45b6fa (diff)
downloadalembic-1364bbf9b782178cad66ca22783dde1ba8353fde.tar.gz
add missing import in asyncion cookbook example
Change-Id: Idda470d2aa7df298e5553359be1ced07e2c112d0
-rw-r--r--docs/build/cookbook.rst4
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/build/cookbook.rst b/docs/build/cookbook.rst
index e464cc8..b5a4bb9 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