def model(self) -> Type["T"]:
        """
        Shortcut to model class set on QuerySet.

        :return: model class
        :rtype: Type[Model]
        """
        if not self.model_cls:  # pragma nocover
            raise ValueError("Model class of QuerySet is not initialized")
        return self.model_cls

        Shortcut to model class set on QuerySet.

        :return: model class
        :rtype: Type[Model]
        
ormar/queryset/queryset.py