class_docstr: Resolves functions from names in pipeline expressions.
class_docstr_tok: ["Resolves","functions","from","names","in","pipeline","expressions","."]
docstr: Get a function by its name.
docstr_tok: ["Get","a","function","by","its","name","."]
code: def __getitem__(self, key):
      """Get a function by its name."""
      if key in self.data:
          return self.data[key]
      elif key in __builtins__ and not key.startswith("__"):
          return __builtins__[key]
      else:
          return (
              lambda g, *args, **kwargs: getattr(g, key)(
                  *args, **kwargs
              )
              if callable(getattr(g, key))
              else getattr(g, key)
          )
  
imports: from collections import OrderedDict, UserDict
  from contextlib import ExitStack
  import math
  from typing import Mapping
  import click
  import numpy
  import rasterio
  from rasterio._vendor import snuggs
  from rasterio.features import sieve
  from rasterio.fill import fillnodata
  from rasterio.rio import options
  from rasterio.rio.helpers import resolve_inout
  from rasterio.windows import Window
label_desc: Use image node_id 1 for calling the FuncMapper obj's underlying member method code with example usage: obj.__getitem__(key) and returns: self, __builtins__, function