class_docstr: Simple provider for the singleton value.
class_docstr_tok: ["Simple","provider","for","the","singleton","value","."]
code: def match(self, name: str, type_hint: Any) -> bool:
      if self._name and name != self._name:
          return False
      if (
          type_hint is not None
          and not pure_typing_utils.is_compatible(  # pytype: disable=not-supported-yet
              self._value, type_hint
          )
      ):
          return False
      return True
  
imports: import abc
  import functools
  import inspect
  import sys
  from typing import Any, Callable, Generic, Optional, TypeVar, Union, get_args, get_origin
  from tfx.utils import pure_typing_utils
label_desc: Use image node_id 2 for calling the ValueProvider obj's underlying member method code with example usage: obj.match(name, type_hint) and returns: True, False, False