From f37da47f0ed2c8dceebe4194ced3adf21c1a23bd Mon Sep 17 00:00:00 2001 From: Joshua Rudolph Date: Tue, 8 Oct 2024 02:46:21 -0500 Subject: [PATCH] Updated `_ParameterBase.__init_subclass__` to call the superclass's `__init_subclass__` method. (#969) --- param/parameterized.py | 1 + 1 file changed, 1 insertion(+) diff --git a/param/parameterized.py b/param/parameterized.py index c62bc855..d6f21f9b 100644 --- a/param/parameterized.py +++ b/param/parameterized.py @@ -971,6 +971,7 @@ def _modified_slots_defaults(cls): @classmethod def __init_subclass__(cls): + super().__init_subclass__() # _update_signature has been tested against the Parameters available # in Param, we don't want to break the Parameters created elsewhere # so wrapping this in a loose try/except.