class_docstr: The ``ConcatRegistry`` can be used to concatenate multiple registries of different types together.
class_docstr_tok: ["The","``","ConcatRegistry","``","can","be","used","to","concatenate","multiple","registries","of","different","types","together","."]
docstr: Register in the first available registry.
docstr_tok: ["Register","in","the","first","available","registry","."]
code: def _register_function(
      self,
      fn: Callable,
      name: Optional[str] = None,
      override: bool = False,
      metadata: Optional[Dict[str, Any]] = None,
  ):
      """Register in the first available registry."""
      for registry in self.registries:
          if getattr(registry, "_register_function", None) is not None:
              return registry._register_function(
                  fn, name=name, override=override, metadata=metadata
              )
      return None
  
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 7 for calling the ConcatRegistry obj's underlying member method code with example usage: obj._register_function(fn, name, override, metadata) and returns: None, registry