Skip to content

Commit

Permalink
fix(components): enable desk for input artifact
Browse files Browse the repository at this point in the history
Signed-off-by: weiwee <wbwmat@gmail.com>
  • Loading branch information
sagewe committed Jan 10, 2023
1 parent 7478f15 commit 48febad
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion python/fate/components/cpn.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,11 @@ def _dict(self):
)
elif annotated == InputAnnotated:
input_artifacts[artifact.name] = ArtifactSpec(
type=artifact.type.type, optional=artifact.optional, roles=roles, stages=artifact.stages
type=artifact.type.type,
optional=artifact.optional,
roles=roles,
stages=artifact.stages,
description=artifact.desc,
)
else:
raise ValueError(f"bad artifact: {artifact}")
Expand Down

0 comments on commit 48febad

Please sign in to comment.