MCPcopy Create free account
hub / github.com/StackStorm/st2 / timediff_lt

Function timediff_lt

st2common/st2common/operators.py:318–323  ·  view source on GitHub ↗
(value, criteria_pattern)

Source from the content-addressed store, hash-verified

316
317
318def timediff_lt(value, criteria_pattern):
319 if criteria_pattern is None:
320 return False
321 return _timediff(
322 diff_target=value, period_seconds=criteria_pattern, operator=less_than
323 )
324
325
326def timediff_gt(value, criteria_pattern):

Callers

nothing calls this directly

Calls 1

_timediffFunction · 0.85

Tested by

no test coverage detected