class_docstr: Module register
class_docstr_tok: ["Module","register"]
code: def __setitem__(self, key, value):
      if not callable(value):
          raise Exception("Value of a Registry must be a callable.")
      if key is None:
          key = value.__name__
      if key in self._dict:
          logging.warning(
              "Key %s already in registry %s." % (key, self._name)
          )
      self._dict[key] = value
  
file_path: delta/delta/utils/register.py
imports: import importlib
  import os
  import sys
  from absl import logging
label_desc: Use image node_id 2 for calling the Register obj's underlying member method code with example usage: obj.__setitem__(key, value) without return types