flyte icon indicating copy to clipboard operation
flyte copied to clipboard

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

Open zeryx opened this issue 2 years ago • 9 comments

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?

  • [X] Yes

Have you read the Code of Conduct?

  • [X] Yes

zeryx avatar Aug 02 '23 17:08 zeryx

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

Future-Outlier avatar Aug 11 '23 13:08 Future-Outlier

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

TechWizard9999 avatar Oct 01 '23 05:10 TechWizard9999

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

Kota-Karthik avatar Oct 01 '23 05:10 Kota-Karthik

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.

samhita-alla avatar Oct 02 '23 04:10 samhita-alla

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

SoumyoPurkayastha avatar Oct 03 '23 09:10 SoumyoPurkayastha

@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!

Future-Outlier avatar Oct 03 '23 09:10 Future-Outlier

@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

adarsh-jha-dev avatar Oct 27 '23 17:10 adarsh-jha-dev

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! 🙏

github-actions[bot] avatar Jul 24 '24 00:07 github-actions[bot]

@samhita-alla Hi, is this issue still active? Can you work on it? Thanks!

paullongtan avatar Dec 22 '24 05:12 paullongtan