]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
The erroneous kw arg "schema" has been removed from the :class:`.ForeignKey`
authorMike Bayer <mike_mp@zzzcomputing.com>
Tue, 8 Oct 2013 23:20:09 +0000 (19:20 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 8 Oct 2013 23:20:09 +0000 (19:20 -0400)
object. this was an accidental commit that did nothing; a warning is raised
in 0.8.3 when this kw arg is used. [ticket:2831]

doc/build/changelog/changelog_09.rst
lib/sqlalchemy/sql/schema.py

index ec6f086f38d2fa0070d03989a84824bf66aed3e0..aec107acd130dcb00b14c1fd19d6de10de743a6a 100644 (file)
 .. changelog::
     :version: 0.9.0
 
+    .. change::
+        :tags: bug, sql
+        :tickets: 2831
+
+        The erroneous kw arg "schema" has been removed from the :class:`.ForeignKey`
+        object. this was an accidental commit that did nothing; a warning is raised
+        in 0.8.3 when this kw arg is used.
+
     .. change::
         :tags: feature, orm
         :tickets: 1418
index 35bab8e9d2e327e5f6818603d632bc43726eaf09..92220b0d111ca652418111a48e65b3f9e6564eb9 100644 (file)
@@ -1279,7 +1279,6 @@ class ForeignKey(SchemaItem):
 
     def __init__(self, column, _constraint=None, use_alter=False, name=None,
                     onupdate=None, ondelete=None, deferrable=None,
-                    schema=None,
                     initially=None, link_to_name=False, match=None):
         """
         Construct a column-level FOREIGN KEY.