You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by ib...@apache.org on 2020/04/10 21:01:19 UTC

[beam] branch release-2.21.0 updated: Fix from_container_image call

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

ibzib pushed a commit to branch release-2.21.0
in repository https://gitbox.apache.org/repos/asf/beam.git


The following commit(s) were added to refs/heads/release-2.21.0 by this push:
     new b7a52e4  Fix from_container_image call
     new 1a3150b  Merge pull request #11384 from pabloem/fx2210
b7a52e4 is described below

commit b7a52e43974a98ed577039b9b58f07dbbd8edab6
Author: Pablo Estrada <pa...@apache.org>
AuthorDate: Fri Apr 10 12:08:34 2020 -0700

    Fix from_container_image call
---
 sdks/python/apache_beam/transforms/environments.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sdks/python/apache_beam/transforms/environments.py b/sdks/python/apache_beam/transforms/environments.py
index 6635e52..a71ef09 100644
--- a/sdks/python/apache_beam/transforms/environments.py
+++ b/sdks/python/apache_beam/transforms/environments.py
@@ -252,7 +252,7 @@ class DockerEnvironment(Environment):
   @classmethod
   def from_options(cls, options):
     # type: (PipelineOptions) -> DockerEnvironment
-    return from_container_image(
+    return cls.from_container_image(
         container_image=options.environment_config,
         artifacts=python_sdk_dependencies(options))