New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
kaggle argument fix #1101
kaggle argument fix #1101
Conversation
hub/api/dataset.py
Outdated
@@ -370,6 +371,7 @@ def ingest_kaggle( | |||
- a local file system path of the form ./path/to/dataset or ~/path/to/dataset or path/to/dataset. | |||
- a memory path of the form mem://path/to/dataset which doesn't save the dataset but keeps it in memory instead. Should be used only for testing as it does not persist. | |||
dest_creds (dict): A dictionary containing credentials used to access the destination path of the dataset. | |||
kaggle_credentials (dict): A dictionary containing kaggle credentials {"username":"", "key": ""}. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
kaggle_credentials (dict): A dictionary containing kaggle credentials {"username":"", "key": ""}. | |
kaggle_credentials (dict): A dictionary containing kaggle credentials {"username":"YOUR_USERNAME", "key": "YOUR_KEY"}. If None, environment variables/the kaggle.json file will be used if available. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pls make changes requested but other than that looks good
Codecov Report
@@ Coverage Diff @@
## main #1101 +/- ##
==========================================
- Coverage 90.72% 90.60% -0.12%
==========================================
Files 118 118
Lines 6051 6059 +8
==========================================
Hits 5490 5490
- Misses 561 569 +8
Continue to review full report at Codecov.
|
This is a tiny fix, please approve. It fixes a critical bug with ingest_kaggle() API. |
馃殌 馃殌 Pull Request
Checklist:
coverage-rate
upChanges
add missing kaggle-credentials argument
tiny fix - pls approve