Skip to content

Commit

Permalink
feat(sdk): SDK - Components - Added annotations to InputSpec and Outp…
Browse files Browse the repository at this point in the history
…utSpec (#4154)
  • Loading branch information
Ark-kun authored Jul 13, 2020
1 parent b1c1431 commit 9b15800
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sdk/python/kfp/components/_structures.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ def __init__(self,
description: Optional[str] = None,
default: Optional[PrimitiveTypes] = None,
optional: Optional[bool] = False,
annotations: Optional[Dict[str, Any]] = None,
):
super().__init__(locals())

Expand All @@ -90,6 +91,7 @@ def __init__(self,
name: str,
type: Optional[TypeSpecType] = None,
description: Optional[str] = None,
annotations: Optional[Dict[str, Any]] = None,
):
super().__init__(locals())

Expand Down

0 comments on commit 9b15800

Please sign in to comment.