From: Sergey Golitsynskiy Date: Sat, 16 Oct 2021 07:53:04 +0000 (-0400) Subject: Add missing note: bind arg will be required in 2.0 (#7195) X-Git-Tag: rel_1_4_26~11 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=88b920bc630c5d46cad6bab0c4cf9905856f16a9;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git Add missing note: bind arg will be required in 2.0 (#7195) Applies to Index.create() and Index.drop() --- diff --git a/lib/sqlalchemy/sql/schema.py b/lib/sqlalchemy/sql/schema.py index 121ba59ac9..25c676bd83 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`.