feat(sdk): SDK - Components - Added annotations to InputSpec and OutputSpec (#4154)

This commit is contained in:
Alexey Volkov 2020-07-12 21:34:33 -07:00 committed by GitHub
parent b1c1431eb8
commit 9b1580039f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -80,6 +80,7 @@ class InputSpec(ModelBase):
description: Optional[str] = None,
default: Optional[PrimitiveTypes] = None,
optional: Optional[bool] = False,
annotations: Optional[Dict[str, Any]] = None,
):
super().__init__(locals())
@ -90,6 +91,7 @@ class OutputSpec(ModelBase):
name: str,
type: Optional[TypeSpecType] = None,
description: Optional[str] = None,
annotations: Optional[Dict[str, Any]] = None,
):
super().__init__(locals())