Kaggle / Kaggle/kaggle-cli

kaggle_api_extended.py clobbering kaggle.json with environment keys

Open
#397 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
7.5k
Forks
1.4k
Avg merge
3d 15h
Merged PRs (30d)
11

Description

https://github.com/Kaggle/kaggle-api/blob/master/kaggle/api/kaggle_api_extended.py#L159

This is clobbering any kaggle.json we alter with a newly generated key after expirying it. Those environment variables are being set somewhere (not in public git repo) and are dififcult to find and remove, especially on the kaggle cloud docker.

This is likely a root source of frustration on https://github.com/Kaggle/kaggle-api/issues/46

The workaround to uninstall / reinstall works, but is likely one users will only discover after significant effort.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.