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

Method __init__

st2client/st2client/utils/interactive.py:58–68  ·  view source on GitHub ↗
(self, name, spec, prefix=None, secret=False, **kw)

Source from the content-addressed store, hash-verified

56
57class StringReader(object):
58 def __init__(self, name, spec, prefix=None, secret=False, **kw):
59 self.name = name
60 self.spec = spec
61 self.prefix = prefix or ""
62 self.options = {"is_password": secret}
63
64 self._construct_description()
65 self._construct_template()
66 self._construct_validators()
67
68 self.options.update(kw)
69
70 @staticmethod
71 def condition(spec):

Callers

nothing calls this directly

Calls 4

_construct_templateMethod · 0.95
_construct_validatorsMethod · 0.95
updateMethod · 0.45

Tested by

no test coverage detected