From afd816161d98359c4f0e95600c5bd7b7122b1314 Mon Sep 17 00:00:00 2001 From: Alexey Volkov Date: Sun, 12 Jul 2020 22:22:32 -0700 Subject: [PATCH] feat(sdk): SDK - Components - Added annotations to TaskSpec (#4153) --- sdk/python/kfp/components/_structures.py | 1 + 1 file changed, 1 insertion(+) diff --git a/sdk/python/kfp/components/_structures.py b/sdk/python/kfp/components/_structures.py index ea766a3b602..726317729ec 100644 --- a/sdk/python/kfp/components/_structures.py +++ b/sdk/python/kfp/components/_structures.py @@ -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