Not sure if this is a Python-specific thing, but i...
# python
g
Not sure if this is a Python-specific thing, but is there not a way to modify the values of an Input of an object after-the-fact it has been instantiated? for example:
Copy code
d = self.create_deployment(
            *args,
            **kwargs,
            extra_annotations={"<http://app.kubernetes.io/group|app.kubernetes.io/group>": "worker"},
            extra_labels={"<http://app.kubernetes.io/group|app.kubernetes.io/group>": "worker"},
        )
        d.spec.replicas = 2
I find myself having to write custom classes that use Mixins to modify object properties before they’re passed to the constructor, to allow the object to be modified (just-before) it’s actually created…