class_docstr: Wrapper provider to provide a singleton instance.
class_docstr_tok: ["Wrapper","provider","to","provide","a","singleton","instance","."]
code: def __init__(self, provider: Provider[_T]):
      self._wrapped = provider
      self._value = None
  
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 1 to create a new SingletonProvider object from inherited base classes: Provider with example: obj = SingletonProvider(provider)