From: Mike Bayer Date: Tue, 8 Oct 2013 23:20:09 +0000 (-0400) Subject: The erroneous kw arg "schema" has been removed from the :class:`.ForeignKey` X-Git-Tag: rel_0_9_0b1~56 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f27b7551292fcd0230effc3387b86ac5a544a561;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git 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. [ticket:2831] --- diff --git a/doc/build/changelog/changelog_09.rst b/doc/build/changelog/changelog_09.rst index ec6f086f38..aec107acd1 100644 --- a/doc/build/changelog/changelog_09.rst +++ b/doc/build/changelog/changelog_09.rst @@ -12,6 +12,14 @@ .. 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 diff --git a/lib/sqlalchemy/sql/schema.py b/lib/sqlalchemy/sql/schema.py index 35bab8e9d2..92220b0d11 100644 --- a/lib/sqlalchemy/sql/schema.py +++ b/lib/sqlalchemy/sql/schema.py @@ -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.