    def from_callable(fn):
        """Create an Action for callable op.

        Args:
            fn (callable): The callable function for op.

        Returns:
            Action: The action.
        """
        action = OperatorAction()
        action._fn = fn
        action._loaded_fn = fn
        action._type = OPType.CALLABLE
        return action
Create an Action for callable op.

Args:
fn (callable): The callable function for op.

Returns:
Action: The action.
towhee/runtime/operator_manager/operator_action.py