def __init__()

in src/lic/ppl/world/world.py [0:0]


    def __init__(self):
        self.variables_ = WorldVars()
        self.stack_ = []
        self.observations_ = defaultdict()
        self.reset_diff()
        self.transforms_ = defaultdict(lambda: TransformData(TransformType.NONE, []))
        self.proposer_ = defaultdict(lambda: None)
        self.initialize_from_prior_ = False
        self.maintain_graph_ = True
        self.cache_functionals_ = False
        self.cached_functionals_ = defaultdict()
        self.vi_dicts = None

        # The token used to restore context to previous state. It's used in __enter__
        # and __exit__ to control the scope of the world.
        self.context_tokens: List[contextvars.Token] = []