Skip to content

Commit

Permalink
SDK - Components - Fixed kfp.components.set_default_base_image (#2118)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ark-kun authored and k8s-ci-robot committed Sep 16, 2019
1 parent 60f9da6 commit c4c0bb8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sdk/python/kfp/components/_python_op.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ def set_default_base_image(image_or_factory: Union[str, Callable[[], str]]):
'''set_default_base_image sets the name of the container image that will be used for component creation when base_image is not specified.
Alternatively, the base image can also be set to a factory function that will be returning the image.
'''
global _default_base_image
_default_base_image = image_or_factory


Expand Down

0 comments on commit c4c0bb8

Please sign in to comment.