flyte icon indicating copy to clipboard operation
flyte copied to clipboard

How to add description for workflow? [Docs]

Open y8gao opened this issue 3 years ago • 5 comments

Description

I checked the webpages in docs, but not found any document that describes how to add description of workflow in FlyteUI. And in Flyte UI, Description section always says "this workflow has no description". image

So my question is: how to add this description or where can I find the related contents?

Are you sure this issue hasn't been raised already?

  • [X] Yes

Have you read the Code of Conduct?

  • [X] Yes

y8gao avatar Sep 05 '22 07:09 y8gao

Thank you for opening your first issue here! 🛠

welcome[bot] avatar Sep 05 '22 07:09 welcome[bot]

You could update the description by using flytectl.

flytectl update workflow-meta -p flytesnacks -d development example_test.wf --description "Mergesort workflow example"

pingsutw avatar Sep 05 '22 11:09 pingsutw

You shouldn't have to use flytectl though... there's ongoing work to bring in user comments. In the hopefully near future, the registration process will just pick up comments from the code for tasks, workflows, and input parameters (and output parameters? @pingsutw )

wild-endeavor avatar Sep 09 '22 17:09 wild-endeavor

Adding pingsutw to this ticket, he's working on it next week. we'll post updates here when we have them. thank

wild-endeavor avatar Sep 09 '22 18:09 wild-endeavor

Good to know this updates. Thanks, and I will try this new version after it is ready. Thanks for your comments.

y8gao avatar Sep 19 '22 06:09 y8gao

This has been implemented in flytekit 1.3.0.

eapolinario avatar Aug 24 '23 18:08 eapolinario