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