Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/StackStorm/st2
/ condition
Method
condition
st2client/st2client/utils/interactive.py:224–225 ·
view source on GitHub ↗
(spec)
Source
from the content-addressed store, hash-verified
222
class
EnumReader(StringReader):
223
@staticmethod
224
def
condition(spec):
225
return
spec.get(
"enum"
, None)
226
227
@staticmethod
228
def
validate(input, spec):
Callers
1
_read_field
Method · 0.45
Calls
1
get
Method · 0.45
Tested by
no test coverage detected