Hey @hanjinliu,
I wanted to use magicclass.serialize.serialize() to save widget states in a container, which contains nested containers. Some of these have Image widgets, and I wanted to skip these in serialization using the skip_if argument. The problem is that the value of skip_if is not passed down in the recursive call. I believe that adding it to lines 80 & 93 in magicclass.serialize.py would solve this issue.
Hey @hanjinliu, I wanted to use
magicclass.serialize.serialize()
to save widget states in a container, which contains nested containers. Some of these have Image widgets, and I wanted to skip these in serialization using theskip_if
argument. The problem is that the value ofskip_if
is not passed down in the recursive call. I believe that adding it to lines 80 & 93 inmagicclass.serialize.py
would solve this issue.