Klemens
08/26/2022, 9:09 AM@job
def wf_bash():
hello_world()
@op
def hello_world():
a = create_shell_script_op("../bin/hello-world.sh", name="bash_hello_world")
a()
However, I am getting the the following error:
dagster._core.errors.DagsterInvalidInvocationError: Compute function of op 'bash_hello_world' has context argument, but no context was provided when invoking.
Does anyone know how I can fix this?Szymon Zaborowski
08/26/2022, 2:19 PM@graph
def hello_world():
a = create_shell_script_op("../bin/hello-world.sh", name="bash_hello_world")
a()
wf_bash = hello_world.to_job()