def __init__(self):
        """
            Initialization of base permissions
            based on exposed methods and actions

            Initialization of extra args
        """
        self._response_key_func_mappings = dict()
        self.apispec_parameter_schemas = self.apispec_parameter_schemas or dict()
        self._apispec_parameter_schemas = self._apispec_parameter_schemas or dict()
        self._apispec_parameter_schemas.update(self.apispec_parameter_schemas)
        if self.base_permissions is None:
            self.base_permissions = set()
            for attr_name in dir(self):
                if hasattr(getattr(self, attr_name), "_permission_name"):
                    _permission_name = getattr(
                        getattr(self, attr_name), "_permission_name"
                    )
                    self.base_permissions.add("can_" + _permission_name)
            self.base_permissions = list(self.base_permissions)
        if not self.extra_args:
            self.extra_args = dict()
        self._apis = dict()
        for attr_name in dir(self):
            if hasattr(getattr(self, attr_name), "_extra"):
                _extra = getattr(getattr(self, attr_name), "_extra")
                for key in _extra:
                    self._apis[key] = _extra[key]
def __init__ ( self ) : self . _response_key_func_mappings = dict ( ) self . apispec_parameter_schemas = self . apispec_parameter_schemas or dict ( ) self . _apispec_parameter_schemas = self . _apispec_parameter_schemas or dict ( ) self . _apispec_parameter_schemas . update ( self . apispec_parameter_schemas ) if self . base_permissions is None : self . base_permissions = set ( ) for attr_name in dir ( self ) : if hasattr ( getattr ( self , attr_name ) , "_permission_name" ) : _permission_name = getattr ( getattr ( self , attr_name ) , "_permission_name" ) self . base_permissions . add ( "can_" + _permission_name ) self . base_permissions = list ( self . base_permissions ) if not self . extra_args : self . extra_args = dict ( ) self . _apis = dict ( ) for attr_name in dir ( self ) : if hasattr ( getattr ( self , attr_name ) , "_extra" ) : _extra = getattr ( getattr ( self , attr_name ) , "_extra" ) for key in _extra : self . _apis [ key ] = _extra [ key ]
Initialization of base permissions
            based on exposed methods and actions

            Initialization of extra args