MCPcopy Create free account
hub / github.com/NVIDIA/SkillSpector / _remaining_timeout

Method _remaining_timeout

contrib/multilingual/api_pool.py:386–389  ·  view source on GitHub ↗
(deadline: float | None)

Source from the content-addressed store, hash-verified

384
385 @staticmethod
386 def _remaining_timeout(deadline: float | None) -> float | None:
387 if deadline is None:
388 return None
389 return max(0.0, deadline - time.monotonic())
390
391
392# ---------------------------------------------------------------------------

Callers 3

acquireMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected