Kaggle / kaggle-api

Official Kaggle API
Apache License 2.0
6.01k stars 1.06k forks source link

Feature Request: Warning suppression option #554

Closed billziss-gh closed 3 weeks ago

billziss-gh commented 3 months ago

After a fresh pip install kaggle I get the following warning, when I try to use the kaggle client.

$ kaggle k list -m --csv
Warning: Looks like you're using an outdated API Version, please consider updating (server 1.6.7 / client 1.6.6)
ref,title,author,lastRunTime,totalVotes
...

Your documentation seems to suggest that the CLI is the recommended "API" for programmatically interfacing with Kaggle. Such warnings are detrimental to this use, because any tool that uses the kaggle CLI has to be aware of warnings and has to parse them out.

Please provide an option to disable warnings from kaggle.

jplotts commented 3 months ago

Thanks for your feedback! I've filed a bug in our internal tracking system for this request - http://b/327367674