flyteorg / flyte

Scalable and flexible workflow orchestration platform that seamlessly unifies data, ML and analytics stacks.
https://flyte.org
Apache License 2.0
5.63k stars 623 forks source link

[FlyteCTL Feature] add a --output flag for pyflyte register #3919

Open zeryx opened 1 year ago

zeryx commented 1 year ago

Describe the feature/command for FlyteCTL

pyflyte register today does not have any mechanism for providing an organized output containing the registered workflow/task/launchplan names, and their versions.

This request would be to provide a --output=X flag that can denote how the output should be formatted. This could be by default =json, and =yaml.

Provide a possible output or UX example

I should be able to run pyflyte register --remote somewf_dir --output=json and the following output.json file should exist in the repo

[{"type":"workflow", "name":"somewf_dir.workflow_file.wf", "version":"abcd123"}, {"type":"task", "name":"somewf_dir.workflow_file.task_a", "version":"abcd123"}]

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

Have you read the Code of Conduct?

Future-Outlier commented 1 year ago

Hi, I am interested in this issue, please give me a chance.

TechWizard9999 commented 1 year ago

😊 "I'd be delighted to work on this issue, @zeryx ! Could you please assign it to me?"

Kota-Karthik commented 1 year ago

@samhita-alla @zeryx I am interested in doing this issue So kindly assign me this issue Thank You : )

samhita-alla commented 1 year ago

Please go ahead and create a PR, @TechWizard9999, @Kota-Karthik. We will consider whoever creates a PR first on a first-come, first-serve basis.

SoumyoPurkayastha commented 1 year ago

@samhita-alla I'm interested in working on this issue. If I can make the feature, can I create a PR?

Future-Outlier commented 1 year ago

@samhita-alla I'm interested in working on this issue. If I can make the feature, can I create a PR?

She means that the first pr will be accepted!

adarsh-jha-dev commented 11 months ago

@samhita-alla , I have raised a PR for this, I request you to please have a look at it and let me know if the changes are valid

github-actions[bot] commented 2 months ago

Hello 👋, this issue has been inactive for over 9 months. To help maintain a clean and focused backlog, we'll be marking this issue as stale and will engage on it to decide if it is still applicable. Thank you for your contribution and understanding! 🙏