The issue you're experiencing is due to the fact that the RunnableLambda class does not have a run method defined. Instead, it has several other methods like invoke, ainvoke, batch, abatch, stream, ...
Description RunnableLambda uses the get_function_nonlocals in order to get the deps property. get_function_nonlocals uses inspect.getsource(func) to get the source code of the function in order to ...