This is an automated email from the ASF dual-hosted git repository.

yichi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git


The following commit(s) were added to refs/heads/master by this push:
     new 3d272e7  Fix sdk_container_builder too many values to unpack error
     new 1636a3a  Merge pull request #16417 from y1chi/python_val
3d272e7 is described below

commit 3d272e7b93f9f1d23758510b65de95582ce81e17
Author: Yichi Zhang <[email protected]>
AuthorDate: Tue Jan 4 10:14:27 2022 -0800

    Fix sdk_container_builder too many values to unpack error
---
 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:

Reply via email to