(self, **values)
| 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 |