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

Method _construct_template

st2client/st2client/utils/interactive.py:100–104  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

98 self.options["get_bottom_toolbar_tokens"] = get_bottom_toolbar_tokens
99
100 def _construct_template(self):
101 self.template = "{0}: "
102
103 if "default" in self.spec:
104 self.template = "{0} [{default}]: "
105
106 def _construct_validators(self):
107 self.options["validator"] = MuxValidator([self.validate], self.spec)

Callers 1

__init__Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected