def test_datamodule_labelstudio_video():
    """Test creation of Datamodule from video."""
    download_data("https://label-studio-testdata.s3.us-east-2.amazonaws.com/lightning-flash/video_data.zip")
    datamodule = VideoClassificationData.from_labelstudio(
        export_json="data/project.json",
        data_folder="data/upload/",
        clip_sampler="uniform",
        clip_duration=1,
        decode_audio=False,
        batch_size=1,
    )
    assert datamodule
Test creation of Datamodule from video.
tests/core/integrations/labelstudio/test_labelstudio.py