Did I find the right examples for you? yes no

All Samples(0)  |  Call(0)  |  Derive(0)  |  Import(0)

src/d/r/droned-HEAD/droned/lib/droned/models/droneserver.py   droned(Download)
class DroneD(Entity):
  _lastPolled = 0.0
  _pollInterval = config.DRONED_POLL_INTERVAL
  age = property( lambda self: time.time() - self._lastPolled )
  stale = property( lambda self: self.age > (2 * self._pollInterval) )