MCPcopy Create free account
hub / github.com/Tron521/codex-console-temp / __enter__

Method __enter__

src/core/utils.py:569–571  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

567 self.elapsed = None
568
569 def __enter__(self):
570 self.start_time = time.time()
571 return self
572
573 def __exit__(self, exc_type, exc_val, exc_tb):
574 self.elapsed = time.time() - self.start_time

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected