class_docstr: An expression that returns the value of a new column to add to a row.
docstr: Constructor.
  
  Args:
    name: The name of the expression. The name of the new column will be
      derived from this.
    fn: A function that takes the result of a row and returns a new value to
      add as a new column in the row.
docstr_tok: ["Constructor",".","Args",":","name",":","The","name","of","the","expression",".","The","name","of","the","new","column","will","be","derived","from","this",".","fn",":","A","function","that","takes","the","result","of","a","row","and","returns","a","new","value","to","add","as","a","new","column","in","the","row","."]
code: def __init__(self, name: str, fn: Callable[[str], Any]):
      """Constructor.
  
      Args:
        name: The name of the expression. The name of the new column will be
          derived from this.
        fn: A function that takes the result of a row and returns a new value to
          add as a new column in the row.
      """
      self._name = name
      self._fn = fn
  
imports: from __future__ import annotations
  import abc
  from typing import Any, Callable, Sequence
  from google.generativeai.notebook import py_utils
  from google.generativeai.notebook.lib import llm_function
  from google.generativeai.notebook.lib import llmfn_output_row
  from google.generativeai.notebook.lib import llmfn_post_process
label_desc: Use image node_id 1 to create a new _ParsedPostProcessAddExpr object from inherited base classes: ParsedPostProcessExpr, llmfn_post_process with example: obj = _ParsedPostProcessAddExpr(name, fn)