I propose an addition to custom widgets documentation regarding passing serialized custom widget data from javascript to python. Credit goes to rgthree for finding an awesome solution:
This ContainsAnyDict class creates an easy way to receive serialized data from custom widgets from javascript as kwargs to the FUNCTION in python whereas even if the custom widgets were serialized they would not be passed to the function in any capacity.
I propose an addition to custom widgets documentation regarding passing serialized custom widget data from javascript to python. Credit goes to rgthree for finding an awesome solution:
This
ContainsAnyDict
class creates an easy way to receive serialized data from custom widgets from javascript as kwargs to theFUNCTION
in python whereas even if the custom widgets were serialized they would not be passed to the function in any capacity.