class_docstr: Action wrapper.
  
  Different types of operations are loaded into this wrapper for the DAG, each
  operators can be loaded and run in different ways.
docstr: Create an Action for lambda op.
  
  Args:
      fn (lambda): The lambda function for op.
  
  Returns:
      Action: The action.
code: def from_lambda(fn):
      """Create an Action for lambda op.
  
      Args:
          fn (lambda): The lambda function for op.
  
      Returns:
          Action: The action.
      """
      action = OperatorAction()
      action._fn = fn
      action._loaded_fn = fn
      action._type = OPType.LAMBDA
      return action
  
file_path: towhee/towhee/runtime/operator_manager/operator_action.py
imports: from towhee.runtime.constants import OPType
label_desc: Use image node_id 6 for calling the OperatorAction obj's underlying member method code with example usage: obj.from_lambda(fn) and returns: action