From ff15f35ace953592dcc068dadcaad0a1dba5a9b4 Mon Sep 17 00:00:00 2001 From: alxndrnh Date: Thu, 13 Apr 2023 19:13:25 +0000 Subject: [PATCH] component.py split_names parse change and readme.md file --- tfx_addons/copy_example_gen/component.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tfx_addons/copy_example_gen/component.py b/tfx_addons/copy_example_gen/component.py index 2c29cacd..9c58627c 100644 --- a/tfx_addons/copy_example_gen/component.py +++ b/tfx_addons/copy_example_gen/component.py @@ -89,5 +89,6 @@ def CopyExampleGen( # pylint: disable=C0103 fileio.copy(tfrecord, file_destination, True) # Build split_names in required Examples Artifact properties format. - example_properties_split_names = "[\"{}\"]".format('","'.join(input_dict.keys())) + example_properties_split_names = "[\"{}\"]".format('","'.join( + input_dict.keys())) output_example.split_names = example_properties_split_names