https://dagster.io/ logo
#announcements
Title
# announcements
t

Tobias Macey

05/15/2020, 8:31 PM
So, my current struggle is that the output that I'm yielding from a solid that is intended to be the full command string for the bash solid isn't treated as a string at pipeline execution time https://github.com/mitodl/ol-data-pipelines/blob/master/ol_data_pipelines/edx/solids.py#L565-L566
a

alex

05/15/2020, 8:45 PM
Ahh i see - so our failure here is
bash_command_solid
should really be called
bash_command_solid_factory
its a function that produces a solid - but the production of that solid has to happen statically at build time
you should be able to write a solid that behaves the way you want by writing one that wraps
execute
from
dagster-bash.utils
t

Tobias Macey

05/15/2020, 8:52 PM
Good call, thanks!
That did the trick 👍
👍 1