]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
apply **kw to SchemaEventTarget._set_parent
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 15 Apr 2021 16:32:04 +0000 (12:32 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 15 Apr 2021 16:32:04 +0000 (12:32 -0400)
Fixed issue in the ``SchemaEventTarget._set_parent`` method that was
missing ``**kw`` in its argument signature which was added to this private
method as part of :ticket:`6152`. The method is not invoked internally, but
could potentially be used by a third party system, as well as that the lack
of a proper signature could be misleading in debugging other issues.

Change-Id: I00dce3e533183969b09946f3e918cb30e1154623
References: #6282

doc/build/changelog/unreleased_13/set_parent.rst [new file with mode: 0644]
lib/sqlalchemy/sql/base.py

diff --git a/doc/build/changelog/unreleased_13/set_parent.rst b/doc/build/changelog/unreleased_13/set_parent.rst
new file mode 100644 (file)
index 0000000..5d7fe77
--- /dev/null
@@ -0,0 +1,10 @@
+.. change::
+    :tags: bug, regression, schema
+    :tickets: 6282
+
+    Fixed issue in the ``SchemaEventTarget._set_parent`` method that was
+    missing ``**kw`` in its argument signature which was added to this private
+    method as part of :ticket:`6152`. The method is not invoked internally, but
+    could potentially be used by a third party system, as well as that the lack
+    of a proper signature could be misleading in debugging other issues.
+
index ec8cbcf2256c1fd9833f9ae68a40c7431bd3a38d..7cd60aefefc8724625de7e498e10e283a1f4863f 100644 (file)
@@ -453,7 +453,7 @@ class SchemaEventTarget(object):
 
     """
 
-    def _set_parent(self, parent):
+    def _set_parent(self, parent, **kw):
         """Associate with this SchemaEvent's parent object."""
 
     def _set_parent_with_dispatch(self, parent, **kw):