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

Method __init__

src/core/utils.py:564–567  ·  view source on GitHub ↗
(self, name: str = "操作")

Source from the content-addressed store, hash-verified

562 """计时器上下文管理器"""
563
564 def __init__(self, name: str = "操作"):
565 self.name = name
566 self.start_time = None
567 self.elapsed = None
568
569 def __enter__(self):
570 self.start_time = time.time()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected