Open jiahao opened 4 years ago
In version 1.5.6, the api.dataset_view() function does not return the names of any files that are not in the local root directory.
api.dataset_view()
Example:
>>> import kaggle #v1.5.6 >>> dataset_name = '4quant/depth-generation-lightfield-imaging' >>> api = kaggle.KaggleApi() >>> api.authenticate() >>> dataset = api.dataset_view(dataset_name) >>> dataset.files [depth_training_data.npz]
An inspection of 4quant/depth-generation-lightfield-imaging on kaggle.com shows that there are many files contained in subdirectories (e.g. 3d_scenes/3d_scenes/img00032.txt) that are not returned by the API call.
3d_scenes/3d_scenes/img00032.txt
Got the same error for the competition files list.
In version 1.5.6, the
api.dataset_view()
function does not return the names of any files that are not in the local root directory.Example:
An inspection of 4quant/depth-generation-lightfield-imaging on kaggle.com shows that there are many files contained in subdirectories (e.g.
3d_scenes/3d_scenes/img00032.txt
) that are not returned by the API call.