flask_rbac/__init__.py
def as_role_model(self, model_cls):
        """A decorator to set custom model or role.

        :param model_cls: Model of role.
        """
        self._role_model = model_cls
        return model_cls
A decorator to set custom model or role.

        :param model_cls: Model of role.
        
A decorator to set custom model or role.
A decorator to set custom model or role .
def as_role_model(self, model_cls):
        self._role_model = model_cls
        return model_cls
def as_role_model ( self , model_cls ) : self . _role_model = model_cls return model_cls
A decorator to set custom model or role.
A decorator to set custom model or role .
"""A decorator to set custom model or role.

        :param model_cls: Model of role.
        """
self
model_cls
Model of role.
Model of role .