def _unwind_frames_pipeline(self):
        """A pipeline that returns (only) the unwound ``frames`` documents."""
        return [
            {"$unwind": "$frames"},
            {"$replaceRoot": {"newRoot": "$frames"}},
        ]
A pipeline that returns (only) the unwound ``frames`` documents.
fiftyone/core/dataset.py