8000 Fixing problem with ListParameter and Dynamic Dependencies by gabrielgonzaga · Pull Request #2970 · spotify/luigi · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fixing problem with ListParameter and Dynamic Dependencies #2970

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

Merged
merged 2 commits into from
Aug 6, 2020

Conversation

gabrielgonzaga
Copy link
Contributor
@gabrielgonzaga gabrielgonzaga commented Jul 9, 2020

Description

The fix is to allow ListParameter parsing to return None or a list.

Motivation and Context

Here we are addressing issue #2969

It is necessary to allow the same behavior as a regular task's parameter handling on a task with dynamic requirements.

Have you tested this? If so, how?

Yes, I executed the same example reported in the issue and it fixes the problem.

Edit: also added tests on test/parameter_test.py

Copy link
Collaborator
@dlstadther dlstadther left a comment

Choose a reason for hiding this comment

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

@jamescooke makes a good point on your linked issue, but this patch also makes sense to me. So i approve.

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.

3 participants
0