def __getstate__(self):
        state = self.__dict__.copy()
        for name in self.get_no_pickle():
            state.pop(name, None)
        return state
Don't include auto-created and unpicklable properties in state.
dataset/ETHPy150Open wq/wq.io/base.py/BaseIO.__getstate__