Shane Breeze
06/06/2023, 9:41 AMJake Kaplan
06/06/2023, 1:02 PMShane Breeze
06/06/2023, 2:09 PMfrom prefect_shell import ShellOperation
...
with ShellOperation(commands=commands) as shell:
proc = shell.trigger()
proc.wait_for_completion()
Instead I use the solution suggested in https://github.com/PrefectHQ/prefect-dbt/issues/146
from prefect_shell import ShellOperation
...
with ShellOperation(commands=commands) as shell:
shell.run()
Both snippets worked in 2.8.6, whereas only the second snippet works in >=2.8.7