Skip to content

Commit

Permalink
SDK - ContainerOp.set_display_name should return self (#1718)
Browse files Browse the repository at this point in the history
/assign @gaoning777
  • Loading branch information
Ark-kun authored and k8s-ci-robot committed Aug 6, 2019
1 parent 2b72b7f commit 4fb329e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sdk/python/kfp/dsl/_container_op.py
Original file line number Diff line number Diff line change
Expand Up @@ -877,6 +877,7 @@ def add_sidecar(self, sidecar: Sidecar):

def set_display_name(self, name: str):
self.display_name = name
return self

def __repr__(self):
return str({self.__class__.__name__: self.__dict__})
Expand Down

0 comments on commit 4fb329e

Please sign in to comment.