code: def add_item(self, sqla_col_type, item, key_specific=None):
          
          if key_specific is not None:
              self.setdefault(key_specific, {})[sqla_col_type] = item
          else:
              self[sqla_col_type] = item
docs: Add an item to the registry