We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 325c37d commit fcec201Copy full SHA for fcec201
1 file changed
crossplane/function/resource.py
@@ -45,8 +45,8 @@ def update(r: fnv1.Resource, source: dict | structpb.Struct | pydantic.BaseModel
45
# apiVersion is set to its default value 's3.aws.upbound.io/v1beta2'
46
# (and not explicitly provided during initialization), it will be
47
# excluded from the serialized output.
48
- data['apiVersion'] = source.apiVersion
49
- data['kind'] = source.kind
+ data["apiVersion"] = source.apiVersion
+ data["kind"] = source.kind
50
r.resource.update(data)
51
case structpb.Struct():
52
# TODO(negz): Use struct_to_dict and update to match other semantics?
0 commit comments