class_docstr: This class is used to register function or :class:`functools.partial` class to a registry.
class_docstr_tok: ["This","class","is","used","to","register","function","or",":","class",":","`","functools.partial","`","class","to","a","registry","."]
code: def __init__(self, name: str, verbose: bool = False) -> None:
      self.name = name
      self.functions: List[_REGISTERED_FUNCTION] = []
      self._verbose = verbose
  
imports: import functools
  import inspect
  import itertools
  from typing import Any, Callable, Dict, List, Optional, Union
  from pytorch_lightning.utilities import rank_zero_info
  from flash.core.utilities.providers import Provider
label_desc: Use image node_id 1 to create a new FlashRegistry object  with example: obj = FlashRegistry(name, verbose)