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 __add__(self, other):
      registries = []
      if isinstance(self, ConcatRegistry):
          registries += self.registries
      else:
          registries += [self]
  
      registries = (
          other.registries + tuple(registries)
          if isinstance(other, ConcatRegistry)
          else [other] + registries
      )
  
      return ConcatRegistry(*registries)
  
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 2 for calling the FlashRegistry obj's underlying member method code with example usage: obj.__add__(other) and returns: ConcatRegistry