-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Documented way for starting Luigi tasks inside Python code #2301
Conversation
This way can be useful if user wants to get dynamic params from anywhere before start the task and pass them automatically
Looks good:
|
I don't think this is the right way to run tasks from inside Python. Why deal with the command line interface at all |
Look at We should probably document that somewhere |
Actually yes, looking at the code it seems it heeds quite strong warnings against using |
Oh, yes, i had to document build, not run (as i see now). It's all because i use So, i'll edit it after i try out |
Any update here @Gr1f0n6x ? |
@dlstadther yes, sorry for delay (a lot of work), i'll continue to work on this issue and try to finish another one (parameter visibility) |
1. Rename command_line file to running_luigi 2. Add description how to start luigi tasks using luigi.build function from luigi.interface module
My apologize for big delay in time. i amended the doc as you proposed and additionally i added minor extra information which may be useful for users who want to provide additional logic in task execution or something else |
Wow, what an improvement! Thanks! |
Description
Information about another existing way for starting Luigi tasks
Motivation and Context
This way can be useful if user wants to get dynamic params from anywhere before start the task and pass them automatically