def __init__(self, model_or_app_label):
        if isinstance(model_or_app_label, str):
            self.app_label = model_or_app_label
            self.model = None
            if self.includes is None:
                self.includes = self._get_app_perms
        else:
            self.app_label = model_or_app_label._meta.app_label
            self.model = model_or_app_label
            self.model._permission_handler = self
            if self.includes is None:
                self.includes = self._get_model_perms
Constructor
dataset/ETHPy150Open lambdalisue/django-permission/src/permission/handlers.py/PermissionHandler.__init__