-
Notifications
You must be signed in to change notification settings - Fork 935
add list runs command #1037
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add list runs command #1037
Conversation
romain-intel
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't have a huge issue with this PR but it does seem somewhat of a point solution and maybe we should think about the "list" API a bit more generally. It may be that we want to add more types of "lists" after (not saying to do it now but at least to think about it a bit).
|
Update: fixed this by using |
| counter = 1 | ||
| try: | ||
| flow = Flow(flow_name) | ||
| except MetaflowNotFound: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need to set the correct namespace here to ensure that the Flow or Run can be found.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@romain-intel perhaps you can shed some light here as I think I am confused b/w what Savin is saying and what you are saying elsewhere?
Happy to have a sync conversation as well around this. Thank you both for your help
|
@savingoyal I was discussing this with @valayDave and some questions:
Thanks |
|
How about we add both? It's usually a lot easier as a user for me to do |
|
Ok. Here are some key questions that would need decisions to quickly converge on code changes.
|
|
@savingoyal I have added the |
|
The namespace is implicitly the user (which I thought was the initial intent) but yes, this is exactly the type of conversation I was mentioning we should have around this more general "listing" API. These types of higher-level options (independent in effect of whether you are listing runs, steps, artifacts, etc) is useful. |
…w-all flag, remove --my-runs
|
ignore this comment (duplicate caused by weird browser glitch |
|
ok @romain-intel I made the changes (If I understood correctly) in this commit I made the following changes:
Please let me know if I am understanding correctly, hopefully, I'm getting closer! We still have to have a discussion of this interface in general. Note: this PR was also meant as a "Good First Issue" for me tackle with regards to learning the code base of Metaflow (just to let you know the dual purpose of this PR) |
|
Feedback from @savingoyal
re: I shared with Savin that I removed the
|
|
Converted the PR to draft since it is not ready for review yet. |
TODO: I need to add tests@valayDave @savingoyal this is ready for review
This will close #602