Skip to content
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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

If force_download is used in a Kaggle notebook, don't spam #172

Merged
merged 2 commits into from
Oct 16, 2024

Conversation

rosbo
Copy link
Contributor

@rosbo rosbo commented Oct 16, 2024

logger.warning("Ignoring invalid input: force_download flag cannot be used in a Colab notebook")
logger.info(
"Ignoring `force_download` argument when running inside the Colab notebook environment.",
extra={**EXTRA_CONSOLE_BLOCK},
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only logs to the log file (reduce spam).

@rosbo rosbo requested a review from jplotts October 16, 2024 15:59
Copy link
Contributor

@jplotts jplotts left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@rosbo rosbo merged commit 743899d into main Oct 16, 2024
6 checks passed
@rosbo rosbo deleted the force_download_warning branch October 16, 2024 16:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants