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

Function timediff_gt

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

Source from the content-addressed store, hash-verified

324
325
326def timediff_gt(value, criteria_pattern):
327 if criteria_pattern is None:
328 return False
329 return _timediff(
330 diff_target=value, period_seconds=criteria_pattern, operator=greater_than
331 )
332
333
334def exists(value, criteria_pattern):

Callers

nothing calls this directly

Calls 1

_timediffFunction · 0.85

Tested by

no test coverage detected