kadet
kadet copied to clipboard
Easily define and reuse complex Python objects that serialize into JSON or YAML
It is not always ideal to hardcode every BaseObj argument via `self.need()` or `self.optional()`. Passing a dictionary to define these can be useful: ```python class Mountain(BaseObj): def new(self): self.args( {...
Currently `BaseObj` accepts any keyword args, even ones not defined via `self.need()` or `self.optional()`. This means that any unknown keywords will blindly have no effect. We should make `BaseObj` check...
Using kwargs to update root on kadet input right now can lead to quite a frustrating and a bit misleading error ``` yaml.representer.RepresenterError: ('cannot represent an object', {'name': 'http-api', 'port':...
A common pattern in the Kubernetes generator is to create and populate arrays using the `+=` operator on Dict. ```python item.root.volumeMounts += [value] ``` It works because the `addict` Dict...
Bumps [setuptools](https://github.com/pypa/setuptools) from 69.5.1 to 70.0.0. Changelog Sourced from setuptools's changelog. v70.0.0 Features Emit a warning when [tools.setuptools] is present in pyproject.toml and will be ignored. -- by :user:SnoopJ (#4150)...