kadet icon indicating copy to clipboard operation
kadet copied to clipboard

Easily define and reuse complex Python objects that serialize into JSON or YAML

Results 6 kadet issues
Sort by recently updated
recently updated
newest added

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( {...

enhancement

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...

enhancement

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)...

dependencies