MCPcopy Create free account
hub / github.com/StackStorm/st2 / condition

Method condition

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

Source from the content-addressed store, hash-verified

324class ArrayObjectReader(StringReader):
325 @staticmethod
326 def condition(spec):
327 return (
328 spec.get("type", None) == "array"
329 and spec.get("items", {}).get("type") == "object"
330 )
331
332 def read(self):
333 results = []

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected