def __enter__(self):
        for field in self.deref_fields:
            self.cls._fields[field]._auto_dereference = False
        return self.cls
Type: Flow or Auxiliary
dataset/ETHPy150Open MongoEngine/mongoengine/mongoengine/context_managers.py/no_dereference.__enter__--crossover with--dataset/ETHPy150Open JamesPHoughton/pysd/tests/old_tests/vensim/test_smooth.py/Components.sm_flow_3