

def __gluestate__(self, context):
    return dict(data=[(k, context.do(v)) for (k, v) in self.kwargs.items()])

dataset/ETHPy150Open glue-viz/glue/glue/viewers/custom/qt/custom_viewer.py FrozenSettings.__gluestate__/original