MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / parse_iso

Function parse_iso

scripts/baseline_workflow_metrics.py:130–133  ·  view source on GitHub ↗
(value: str | None)

Source from the content-addressed store, hash-verified

128
129
130def parse_iso(value: str | None) -> dt.datetime | None:
131 if value is None:
132 return None
133 return dt.datetime.fromisoformat(value.replace("Z", "+00:00"))
134
135
136def _run_from_raw(raw: dict) -> RunSummary | None:

Callers 2

_run_from_rawFunction · 0.85
fetch_all_repo_runsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected