This is an automated email from the ASF dual-hosted git repository.
emilyye pushed a commit to branch release-2.36.0
in repository https://gitbox.apache.org/repos/asf/beam.git
The following commit(s) were added to refs/heads/release-2.36.0 by this push:
new 99e455e [release-2.36.0][BEAM-13459] Fix sdk_container_builder too
many values to unpack error (#16422)
99e455e is described below
commit 99e455ece41ee3ae9fdd0767cb03f7e19067f264
Author: emily <[email protected]>
AuthorDate: Tue Jan 4 16:45:07 2022 -0800
[release-2.36.0][BEAM-13459] Fix sdk_container_builder too many values to
unpack error (#16422)
Co-authored-by: Yichi Zhang <[email protected]>
---
sdks/python/apache_beam/runners/portability/sdk_container_builder.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/sdks/python/apache_beam/runners/portability/sdk_container_builder.py
b/sdks/python/apache_beam/runners/portability/sdk_container_builder.py
index d1c6247..7b4e81f 100644
--- a/sdks/python/apache_beam/runners/portability/sdk_container_builder.py
+++ b/sdks/python/apache_beam/runners/portability/sdk_container_builder.py
@@ -97,7 +97,7 @@ class SdkContainerImageBuilder(plugin.BeamPlugin):
resources = Stager.extract_staging_tuple_iter(artifacts)
# make a copy of the staged artifacts into the temp source folder.
file_names = []
- for path, name in resources:
+ for path, name, _ in resources:
shutil.copyfile(path, os.path.join(self._temp_src_dir, name))
file_names.append(name)
with open(os.path.join(self._temp_src_dir, 'Dockerfile'), 'w') as file: