https://prefect.io logo
p

Peter Peter

11/25/2020, 3:55 PM
Hello, We are currently looking at shelltask and dbtshelltask and we are wondering why helper_script is only in the constructor and why it cannot set when we call run. There must be a reason for this. If someone could shed some light on this. Thanks Peter
j

Jim Crist-Harif

11/25/2020, 4:19 PM
The reason is no one has asked for it yet 🙂.
@Marvin open "Support passing
helper_script
to `ShellTask`/`DBTShellTask` at runtime"
p

Peter Peter

11/30/2020, 5:38 PM
@Jim Crist-Harif Thanks for the response. Would it be possible to make the following available at runtime as well? profile_name, environment, overwrite_profiles, profiles_dir, set_profiles_envar, shell, return_all, log_stderr. We see value in these being available at run time as well.