summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/sql/schema.py
diff options
context:
space:
mode:
authorSergey Golitsynskiy <sgolitsynskiy@gmail.com>2021-10-16 03:53:04 -0400
committerGitHub <noreply@github.com>2021-10-16 09:53:04 +0200
commit88b920bc630c5d46cad6bab0c4cf9905856f16a9 (patch)
tree7e011e2ae5928ef06fd1b4dd28f0c21917dc9c66 /lib/sqlalchemy/sql/schema.py
parent943759c4f124a01ddffaa4f77fe07c8dd0e2bb1e (diff)
downloadsqlalchemy-88b920bc630c5d46cad6bab0c4cf9905856f16a9.tar.gz
Add missing note: bind arg will be required in 2.0 (#7195)
Applies to Index.create() and Index.drop()
Diffstat (limited to 'lib/sqlalchemy/sql/schema.py')
-rw-r--r--lib/sqlalchemy/sql/schema.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/sqlalchemy/sql/schema.py b/lib/sqlalchemy/sql/schema.py
index 121ba59ac..25c676bd8 100644
--- a/lib/sqlalchemy/sql/schema.py
+++ b/lib/sqlalchemy/sql/schema.py
@@ -4195,6 +4195,9 @@ class Index(DialectKWArgs, ColumnCollectionMixin, SchemaItem):
:class:`.Index`, using the given :class:`.Connectable`
for connectivity.
+ .. note:: the "bind" argument will be required in
+ SQLAlchemy 2.0.
+
.. seealso::
:meth:`_schema.MetaData.create_all`.
@@ -4210,6 +4213,9 @@ class Index(DialectKWArgs, ColumnCollectionMixin, SchemaItem):
:class:`.Index`, using the given :class:`.Connectable`
for connectivity.
+ .. note:: the "bind" argument will be required in
+ SQLAlchemy 2.0.
+
.. seealso::
:meth:`_schema.MetaData.drop_all`.