Skip to content

Commit

Permalink
Updated _ParameterBase.__init_subclass__ to call the superclass's `…
Browse files Browse the repository at this point in the history
…__init_subclass__` method. (#969)
  • Loading branch information
JRRudy1 authored Oct 8, 2024
1 parent e54dd51 commit f37da47
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions param/parameterized.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit f37da47

Please sign in to comment.