For example, currently I’m passing a Kubernetes na...
# python
a
For example, currently I’m passing a Kubernetes namespace to a “parent”
ComponentResource
that I’ve created. I’m passing it like so:
Copy code
def __init__(..., namespace: Namespace, ...):
  super().__init__(
    ...,
    props={'namespace': namespace},
    ...
  )
Is that the correct way to use
props
? My thinking was that this would let the Pulumi “engine” know that there is an ordering requirement between the namespace and my
ComponentResource
. Is that how it works? If not, then what are
props
for?