MCPcopy Create free account
hub / github.com/FastLED/FastLED / get_age_seconds

Method get_age_seconds

ci/util/pio_package_messages.py:200–206  ·  view source on GitHub ↗

Get age of this status update in seconds. Returns: Seconds since last update

(self)

Source from the content-addressed store, hash-verified

198 return (time.time() - self.updated_at) > timeout_seconds
199
200 def get_age_seconds(self) -> float:
201 """Get age of this status update in seconds.
202
203 Returns:
204 Seconds since last update
205 """
206 return time.time() - self.updated_at
207
208
209class BuildCommand(Enum):

Callers 1

test_get_age_secondsMethod · 0.95

Calls 1

timeMethod · 0.80

Tested by 1

test_get_age_secondsMethod · 0.76