You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 27, 2024. It is now read-only.
Please note that you must accept the competition rules on the competition's page before running your commands.
but it would be nice if the CLI gave you feedback to point you in the right direction. for instance, when trying to submit to a competition without having accepted the rules, you'll get something like:
Expecting value: line 1 column 1 (char 0)
this is due to the JSON parsing failing here, since the response body is an HTML document:
try:
# ...response.json()exceptValueError:
print('You must accept competition rules on the competition'spagebeforesubmittingtothecompetition\n{}'.format(competition_url))
linking to the competition_url feels like a nice touch.
thanks for this CLI! 🌟
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
the README mentions
but it would be nice if the CLI gave you feedback to point you in the right direction. for instance, when trying to submit to a competition without having accepted the rules, you'll get something like:
this is due to the JSON parsing failing here, since the response body is an HTML document:
kaggle-cli/kaggle_cli/submit.py
Lines 73 to 82 in 3f6071f
seems like you could wrap that up:
linking to the
competition_url
feels like a nice touch.thanks for this CLI! 🌟
The text was updated successfully, but these errors were encountered: