]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
Add missing deprecation to ``MetaData.bind`` argument
authorFederico Caselli <cfederico87@gmail.com>
Sat, 16 Oct 2021 17:31:45 +0000 (19:31 +0200)
committerFederico Caselli <cfederico87@gmail.com>
Mon, 18 Oct 2021 19:46:54 +0000 (21:46 +0200)
Fixes: #7194
Change-Id: I9dacbb562aa55d9c408a43f8e57050db31dc8bfc

lib/sqlalchemy/sql/schema.py

index 25c676bd83f37e80ce5b52234ec70f62171c3faf..166ad98cd89755369d0d866c940ab5f8417ff23c 100644 (file)
@@ -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"