

@classmethod
def __setgluestate__(cls, rec, context):
    result = cls()
    rec = rec['data']
    for k in rec:
        setattr(result, k, cls.object(rec[k]))
    return result

dataset/ETHPy150Open glue-viz/glue/glue/viewers/custom/qt/custom_viewer.py ViewerState.__setgluestate__/VarMisuse@43/51 `context`->`cls`