Ben Ogorek
07/05/2023, 2:20 PMnon_argument_deps
equivalent for ops? I’m trying to get create_shell_command_op
working as part of a graph-backed asset, where the shell command that’s being run relies on a file that a previous asset function dropped to the file system. You can do that with assets, but I can’t figure out how to do it with ops. (I’ll take any and all examples of create_shell_command_op
- really struggling with it.)jamie
07/05/2023, 4:01 PMcreate_shell_command_op
makes an op with a nothing dependency called start
should you should be able to do this
@op
def run_before_shell():
...
shell_op = create_shell_command_op(...)
@graph
def my_graph():
shell_op(start=run_before_shell())