From: Federico Caselli Date: Sat, 16 Oct 2021 17:31:45 +0000 (+0200) Subject: Add missing deprecation to ``MetaData.bind`` argument X-Git-Tag: rel_1_4_27~44^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5ce5cd624a43f1435a4bcba56f64e9b45c518780;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git Add missing deprecation to ``MetaData.bind`` argument Fixes: #7194 Change-Id: I9dacbb562aa55d9c408a43f8e57050db31dc8bfc --- diff --git a/lib/sqlalchemy/sql/schema.py b/lib/sqlalchemy/sql/schema.py index 25c676bd83..166ad98cd8 100644 --- a/lib/sqlalchemy/sql/schema.py +++ b/lib/sqlalchemy/sql/schema.py @@ -4504,6 +4504,12 @@ class MetaData(SchemaItem): engine = create_engine("someurl://") metadata.bind = engine + .. deprecated :: 1.4 + + The metadata.bind attribute, as part of the deprecated system + of "implicit execution", is itself deprecated and will be + removed in SQLAlchemy 2.0. + .. seealso:: :ref:`dbengine_implicit` - background on "bound metadata"