I'm working on adding support for Pydantic dataclasses to Panel when I stumbled upon this bug
import param
import panel as pn
pn.extension()
class SomeModel(param.Parameterized):
int_field = param.Integer(default=1, bounds=(0,10), inclusive_bounds=(False, False))
float_field = param.Integer(default=1, bounds=(0, 10), inclusive_bounds=(False, False))
model = SomeModel()
pn.Param(model).servable()
If you drag either of the the slider to the end you will get one of
ValueError: Integer parameter 'SomeModel.float_field' must be less than 10, not 10.
ValueError: Integer parameter 'SomeModel.float_field' must be less than 10, not 10.
I'm working on adding support for Pydantic dataclasses to Panel when I stumbled upon this bug
If you drag either of the the slider to the end you will get one of