I cant seem to find a way to read objectWrapper with python. Flow is → rowData.toDict() → adding one new property → sending it to modal into button value → pushing button sends value to message handler and here I have problem reading it
I got error - Error running Page/Dashboard@C/root.onMessageReceived(self, payload): TypeError: unicode indices must be integers
but the problem was I was sending it as a Value not as an object. We have one component from Projects which is inherited and the component there has input parameter Value, so whenever I send there the Dictionary it got wrapped, because Value != Object i think, or I am understanding something wrong ?
if you are passing along a dict "rowData.toDict() " than it should work.
i cant really say what your Value means or is without seeing some code.
But you really shouldnt have to decode/encode it with json