Mavi Toktamis-Paker
01/09/2023, 5:31 PMexecute_solid
is. Is it materialize
? Thanks.sandy
01/09/2023, 6:15 PM@op
def my_op(my_input):
return my_input + 1
you can just invoke it directly like a python function:
my_op(5) == 7
Mavi Toktamis-Paker
02/07/2023, 10:17 AMsandy
02/07/2023, 7:19 PMModeDefinitiom(resource_defs=my_resource_defs)
you can instead do
my_op(context=build_op_context(resources=my_resource_defs))
Mavi Toktamis-Paker
02/09/2023, 7:16 PMmaterialize
or execute_in_process
?
Sorry to progressively reveal the portions of our issue, I know that’s annoying. In summary we have `execute_solid`s of the following form:
execute_solid(
my_op,
input_values=my_dictionary_of_inputs,
mode_def=my_mode,
run_config=my_function_to_generate_a_run_config(),
)
sandy
02/09/2023, 8:14 PM