MCPcopy 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

222class 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_fieldMethod · 0.45

Calls 1

getMethod · 0.45

Tested by

no test coverage detected