def apply(self, clip: Clip) -> Clip:
        """Apply the effect to the clip."""
        if clip.duration is None:
            raise ValueError("Attribute 'duration' not set")

        return clip[::-1]
Apply the effect to the clip.
moviepy/video/fx/TimeMirror.py