def register(self, model_or_iterable, moderation_class):
        if isinstance(model_or_iterable, ModelBase):
            model_or_iterable = [model_or_iterable]
        for model in model_or_iterable:
            if model in self._registry:
                raise AlreadyModerated("The model '%s' is already being moderated" % model._meta.module_name)
            self._registry[model] = moderation_class(model)
Reads an agent dictionary
dataset/ETHPy150Open jezdez-archive/django-comment-utils/comment_utils/moderation.py/Moderator.register--crossover with--dataset/ETHPy150Open openeventdata/petrarch/petrarch/PETRreader.py/read_agent_dictionary