def METHOD_NAME(
    local_ds: Dataset, hub_kaggle_credentials, convert_to_pathlib
):
    with CliRunner().isolated_filesystem():
        kaggle_path = os.path.join(local_ds.path, "unstructured_kaggle_data_simple")
        kaggle_path = convert_string_to_pathlib_if_needed(
            kaggle_path, convert_to_pathlib
        )
        username, key = hub_kaggle_credentials
        ds = deeplake.ingest_kaggle(
            tag="andradaolteanu/birdcall-recognition-data",
            src=kaggle_path,
            dest=local_ds.path,
            images_compression="jpeg",
            kaggle_credentials={"username": username, "key": key},
            progressbar=False,
            summary=False,
            overwrite=False,
        )
        assert list(ds.tensors.keys()) == ["images", "labels"]
        assert ds["labels"].numpy().shape == (10, 1)