def _initialize_form(self, instance):

        if instance is not None:
            assert isinstance(instance, Repository), "Instance should be of Repository type."
            self.instance = instance
            self.repo_entering_name = instance.name  # store current repository name in case user changed it's name.
Accessor method for the warning count.
dataset/ETHPy150Open Djacket/djacket/core/backend/repository/forms.py/RepositoryCreationForm._initialize_form--crossover with--dataset/ETHPy150Open lyda/chkcrontab/chkcrontab_lib.py/LogCounter.warn_count