Skip to content
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

Set parameters for running flow instead of any imported #1691

Merged
merged 3 commits into from
Jan 19, 2024

Conversation

madhur-ob
Copy link
Collaborator

Suggested changes on top of the work of @maxzheng on #1653

maxzheng and others added 2 commits January 18, 2024 14:43
This fixes the issue where parameters for multiple imported flows
are displayed instead of the running one when multple flows are
in the same file with parameters.

Also:
1. Change to use Exception as bare except is bad practice / fails
flake8.
2. Switch to editable/develop install so any code changes would be
   effective without reinstalling. Much faster to iterate changes.
saikonen
saikonen previously approved these changes Jan 18, 2024
Copy link
Collaborator

@saikonen saikonen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

diff for test_runner and tox.ini should be empty, but the current changes are only formatting so its fine.

@nflx-mf-bot
Copy link
Collaborator

Testing[600] @ e16bf74

@madhur-ob
Copy link
Collaborator Author

except blocks have been restored, CC: @savingoyal

@nflx-mf-bot
Copy link
Collaborator

Testing[600] @ e16bf74 had 2 FAILUREs.

@nflx-mf-bot
Copy link
Collaborator

Testing[600] @ cd13ef0 had 5 FAILUREs.

@romain-intel romain-intel merged commit a46f4a3 into Netflix:master Jan 19, 2024
20 of 24 checks passed
@madhur-ob madhur-ob deleted the set-parameters@master branch January 19, 2024 08:36
@saikonen saikonen linked an issue Jan 19, 2024 that may be closed by this pull request
emattia pushed a commit to emattia/metaflow that referenced this pull request Jan 23, 2024
* Set parameters for running flow instead of any imported

This fixes the issue where parameters for multiple imported flows
are displayed instead of the running one when multple flows are
in the same file with parameters.

Also:
1. Change to use Exception as bare except is bad practice / fails
flake8.
2. Switch to editable/develop install so any code changes would be
   effective without reinstalling. Much faster to iterate changes.

* suggested changes

* restore except blocks

---------

Co-authored-by: Max Zheng <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Strange inheritance behaviour of FlowSpec
6 participants