Skip to content

Commit fcec201

Browse files
committed
Run hatch fmt
This file wasn't formatted before making it into main. Not sure why the linter didn't catch it... Signed-off-by: Nic Cope <[email protected]>
1 parent 325c37d commit fcec201

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crossplane/function/resource.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ def update(r: fnv1.Resource, source: dict | structpb.Struct | pydantic.BaseModel
4545
# apiVersion is set to its default value 's3.aws.upbound.io/v1beta2'
4646
# (and not explicitly provided during initialization), it will be
4747
# excluded from the serialized output.
48-
data['apiVersion'] = source.apiVersion
49-
data['kind'] = source.kind
48+
data["apiVersion"] = source.apiVersion
49+
data["kind"] = source.kind
5050
r.resource.update(data)
5151
case structpb.Struct():
5252
# TODO(negz): Use struct_to_dict and update to match other semantics?

0 commit comments

Comments
 (0)