File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments