Skip to content

Commit

Permalink
feat(sdk): SDK - Components - Added annotations to TaskSpec (#4153)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ark-kun authored and Bobgy committed Jul 13, 2020
1 parent 98fccca commit c439ec3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sdk/python/kfp/components/_structures.py
Original file line number Diff line number Diff line change
Expand Up @@ -590,6 +590,7 @@ def __init__(self,
arguments: Optional[Mapping[str, ArgumentType]] = None,
is_enabled: Optional[PredicateType] = None,
execution_options: Optional[ExecutionOptionsSpec] = None,
annotations: Optional[Dict[str, Any]] = None,
):
super().__init__(locals())
#TODO: If component_ref is resolved to component spec, then check that the arguments correspond to the inputs
Expand Down

0 comments on commit c439ec3

Please sign in to comment.