Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/StackStorm/st2
/ condition
Method
condition
st2client/st2client/utils/interactive.py:180–181 ·
view source on GitHub ↗
(spec)
Source
from the content-addressed store, hash-verified
178
class
IntegerReader(StringReader):
179
@staticmethod
180
def
condition(spec):
181
return
spec.get(
"type"
, None) ==
"integer"
182
183
@staticmethod
184
def
validate(input, spec):
Callers
nothing calls this directly
Calls
1
get
Method · 0.45
Tested by
no test coverage detected