You could also have done:

from pulp.server.db.model.repository import RepoImporter
repo_importers = RepoImporter.get_collection()