MCPcopy Index your code
hub / github.com/StackStorm/st2 / condition

Method condition

st2client/st2client/utils/interactive.py:115–116  ·  view source on GitHub ↗
(spec)

Source from the content-addressed store, hash-verified

113class BooleanReader(StringReader):
114 @staticmethod
115 def condition(spec):
116 return spec.get("type", None) == "boolean"
117
118 @staticmethod
119 def validate(input, spec):

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected