

def _state_should_be_updated(self):
    'Should the state of the resource be updated?'
    now = datetime.datetime.now()
    return ((now - now._last_updated) > self._STATE_UPDATE_INTERVAL)

dataset/ETHPy150Open s3rvac/retdec-python/retdec/resource.py Resource._state_should_be_updated/VarMisuse@27/48 `self`->`now`