Skip to content

Commit

Permalink
SDK/DSL - ContainerOp.apply method now supports functions that do not…
Browse files Browse the repository at this point in the history
… return anything (#1226)
  • Loading branch information
Ark-kun authored and k8s-ci-robot committed May 21, 2019
1 parent ea07b33 commit f419b9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/python/kfp/dsl/_container_op.py
Original file line number Diff line number Diff line change
Expand Up @@ -731,7 +731,7 @@ def apply(self, mod_func):
.set_memory_limit('2GB')
)
"""
return mod_func(self)
return mod_func(self) or self

def after(self, *ops):
"""Specify explicit dependency on other ops."""
Expand Down

0 comments on commit f419b9b

Please sign in to comment.