-
Notifications
You must be signed in to change notification settings - Fork 36
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
added logic to check user version against latest available KaggleHub #73
Conversation
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.
Great work!
@@ -55,6 +56,17 @@ def __init__(self): | |||
self.credentials = get_kaggle_credentials() | |||
self.endpoint = get_kaggle_api_endpoint() | |||
|
|||
def _check_for_version_update(self, response): |
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.
can you add the type hint to response
. This should be:
kagglehub/src/kagglehub/clients.py
Line 142 in ef7d011
def _download_file(response: requests.Response, out_file: str, size_read: int, total_size: int, hash_object): |
https://b.corp.google.com/issues/321791392