def register(self, fetypecls, handler):
        """Register the datamodel factory corresponding to a frontend-type class
        """
        assert issubclass(fetypecls, types.Type)
        self._handlers[fetypecls] = handler
Register the datamodel factory corresponding to a frontend-type class
        
numba/core/datamodel/manager.py