MCPcopy Create free account
hub / github.com/mlco2/codecarbon / from_seconds

Method from_seconds

codecarbon/core/units.py:24–25  ·  view source on GitHub ↗
(cls, seconds: float)

Source from the content-addressed store, hash-verified

22
23 @classmethod
24 def from_seconds(cls, seconds: float) -> "Time":
25 return cls(seconds=seconds)
26
27
28@dataclass

Callers 6

stop_taskMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected