MCPcopy Create free account
hub / github.com/VitoHowe/glm-coding / _make_run_id

Method _make_run_id

app/runtime_logging.py:278–280  ·  view source on GitHub ↗
(self, *, prefix: str = "run")

Source from the content-addressed store, hash-verified

276 handle.write(line + "\n")
277
278 def _make_run_id(self, *, prefix: str = "run") -> str:
279 stamp = datetime.now().strftime("%Y%m%d-%H%M%S")
280 return f"{prefix}-{stamp}-{secrets.token_hex(3)}"
281
282 def _sanitize_value(self, value: Any, *, key: str = "") -> Any:
283 key_lower = key.lower()

Callers 3

start_runMethod · 0.95
log_account_eventMethod · 0.95
log_system_eventMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected