def get_all_objects_for_this_type(self, **kwargs):
        return self.model_class()._base_manager.using(self._state.db).filter(**kwargs)
Returns all objects of this type for the keyword arguments given.
dataset/ETHPy150Open django/django/django/contrib/contenttypes/models.py/ContentType.get_all_objects_for_this_type