Allow datasets download and datasets files to be called without authentication. These changes will not work without the corresponding DatasetsAnonymousDownloadsFromApi feature flag.
Other changes in this release:
Fixes downloading a specific file from a dataset version. The version number was available on the API endpoint, but not being passed down to the request by the client logic.
Allows --help-h and --version-v flags to work for all commands when unauthenticated.
Description
Allow
datasets download
anddatasets files
to be called without authentication. These changes will not work without the correspondingDatasetsAnonymousDownloadsFromApi
feature flag.Other changes in this release:
--help
-h
and--version
-v
flags to work for all commands when unauthenticated.Example commands while unauthenticated:
(Note: Only Google / Kaggle employees have access to the below links)
Local testing
Previous equivalent PR (before
kaggle-api
was unified on the public repo): https://github.com/Kaggle/kaggleazure/pull/28453http://b/325082647