Skip to content

Commit 3a8e5e3

Browse files
committed
update yapf fix
1 parent 5d81029 commit 3a8e5e3

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

sdk/python/kfp/compiler/pipeline_spec_builder.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,8 @@ def to_protobuf_value(value: type_utils.PARAMETER_TYPES) -> struct_pb2.Value:
7171
return struct_pb2.Value(number_value=value)
7272
elif isinstance(value, dict):
7373
return struct_pb2.Value(
74-
struct_value=struct_pb2.Struct(fields={
75-
k: to_protobuf_value(v) for k, v in value.items()
76-
}))
74+
struct_value=struct_pb2.Struct(
75+
fields={k: to_protobuf_value(v) for k, v in value.items()}))
7776
elif isinstance(value, list):
7877
return struct_pb2.Value(
7978
list_value=struct_pb2.ListValue(
@@ -2029,7 +2028,8 @@ def write_pipeline_spec_to_file(
20292028
pipeline_description: Description from pipeline docstring.
20302029
package_path: The path to which to write the PipelineSpec.
20312030
platform_spec: The PlatformSpec.
2032-
k8s_manifests_format: Whether to output the compiled pipeline in K8s native format. Defaults to False.
2031+
k8s_manifests_format: Whether to output the compiled pipeline
2032+
in K8s native format. Defaults to False.
20332033
"""
20342034
pipeline_spec_dict = json_format.MessageToDict(pipeline_spec)
20352035

0 commit comments

Comments
 (0)