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

Method validate

st2client/st2client/utils/interactive.py:50–54  ·  view source on GitHub ↗
(self, document)

Source from the content-addressed store, hash-verified

48 self.spec = spec
49
50 def validate(self, document):
51 input = document.text
52
53 for validator in self.validators:
54 validator(input, self.spec)
55
56
57class StringReader(object):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected