class_docstr: Register from names to classes. In particular, we say that direct subclasses of
  ReplaceableBase are "base classes" and we register subclasses of each base class
  in a separate namespace.
docstr: Retrieve all registered implementations from the registry
  
  Args:
      base_class_wanted: parent type of type we are looking for.
                  It determines the namespace.
                  This will typically be a direct subclass of ReplaceableBase.
  Returns:
      list of class types in alphabetical order of registered name.
docstr_tok: ["Retrieve","all","registered","implementations","from","the","registry","Args",":","base_class_wanted",":","parent","type","of","type","we","are","looking","for",".","It","determines","the","namespace",".","This","will","typically","be","a","direct","subclass","of","ReplaceableBase",".","Returns",":","list","of","class","types","in","alphabetical","order","of","registered","name","."]
code: def get_all(
      self, base_class_wanted: Type[ReplaceableBase]
  ) -> List[Type[ReplaceableBase]]:
      """
      Retrieve all registered implementations from the registry
  
      Args:
          base_class_wanted: parent type of type we are looking for.
                      It determines the namespace.
                      This will typically be a direct subclass of ReplaceableBase.
      Returns:
          list of class types in alphabetical order of registered name.
      """
      if self._is_base_class(base_class_wanted):
          source = self._mapping[base_class_wanted]
          return [source[key] for key in sorted(source)]
  
      base_class = self._base_class_from_class(base_class_wanted)
      if base_class is None:
          raise ValueError(
              f"Cannot look up {base_class_wanted}. Cannot tell what it is."
          )
      source = self._mapping[base_class]
      return [
          source[key]
          for key in sorted(source)
          if issubclass(source[key], base_class_wanted)
          and source[key] is not base_class_wanted
      ]
  
imports: import dataclasses
  import inspect
  import itertools
  import sys
  import warnings
  from collections import Counter, defaultdict
  from enum import Enum
  from functools import partial
  from typing import Any, Callable, Dict, get_args, get_origin, List, Optional, Tuple, Type, TypeVar, Union
  from omegaconf import DictConfig, OmegaConf, open_dict
label_desc: Use image node_id 5 for calling the _Registry obj's underlying member method code with example usage: obj.get_all(base_class_wanted) and returns: unknown, unknown