holoviz / param

Param: Make your Python code clearer and more reliable by declaring Parameters
https://param.holoviz.org
BSD 3-Clause "New" or "Revised" License
412 stars 69 forks source link

Re-validate default when Parameter type changes on subclass #812

Closed philippjfr closed 11 months ago

philippjfr commented 11 months ago

This PR re-validates the Parameter default if you override the Parameter type on a subclass to a more specific or completely different type. Technically it should also re-validate when certain slot values change but I wanted to start with a more limited change.