class LoadMe(object):

    def __init__(self, parent):
        self.parent = parent

def load(self):
    return DoneLoading(self.parent)


class DoneLoading(object):

    def __init__(self, parent):
        self.parent = parent

def load(self):
    return self
How to lazy load a data structure (python)