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

Method __init__

st2common/st2common/models/api/pack.py:162–168  ·  view source on GitHub ↗
(self, **values)

Source from the content-addressed store, hash-verified

160 }
161
162 def __init__(self, **values):
163 # Note: If some version values are not explicitly surrounded by quotes they are recognized
164 # as numbers so we cast them to string
165 if values.get("version", None):
166 values["version"] = str(values["version"])
167
168 super(PackAPI, self).__init__(**values)
169
170 def validate(self):
171 # We wrap default validate() implementation and throw a more user-friendly exception in

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected