This is a mistake I am sure a lot of users can get confused by as shown in this screenshot. While this example uses panel, the principles are all based on param:
Cell 3 doesn't update the Markdown where the mistake is that super() wasn't called in the __init__ of the parameterized class.
It would be very helpful if a warning could be issued if super() hasn't been called. Here I believe bind is watching the class parameter instead - if using the .param accessor warned when the object hasn't been properly initialized, that might be quite helpful.
This is a mistake I am sure a lot of users can get confused by as shown in this screenshot. While this example uses
panel, the principles are all based onparam:Cell 3 doesn't update the Markdown where the mistake is that
super()wasn't called in the__init__of the parameterized class.It would be very helpful if a warning could be issued if
super()hasn't been called. Here I believebindis watching the class parameter instead - if using the.paramaccessor warned when the object hasn't been properly initialized, that might be quite helpful.