MCPcopy Create free account
hub / github.com/TheSmallHanCat/flow2api / _to_timestamp

Function _to_timestamp

src/core/monitoring.py:82–86  ·  view source on GitHub ↗
(value: Any)

Source from the content-addressed store, hash-verified

80
81
82def _to_timestamp(value: Any) -> float:
83 dt = _to_utc_datetime(value)
84 if dt is None:
85 return 0.0
86 return float(dt.timestamp())
87
88
89async def _probe_remote_browser_health(base_url: str, timeout_seconds: float = 3.0) -> tuple[bool, float]:

Callers 1

Calls 1

_to_utc_datetimeFunction · 0.85

Tested by

no test coverage detected