def get(self, project_id):
        project = Project.get(project_id)
        if not project:
            return '', 404

        queryset = Snapshot.query.options(
            joinedload('source').joinedload('revision'),
        ).filter(
            Snapshot.project_id == project.id,
        ).order_by(
            Snapshot.date_created.desc(),
        )

        return self.paginate(queryset)
dataset/ETHPy150Open dropbox/changes/changes/api/project_snapshot_index.py/ProjectSnapshotIndexAPIView.get/original