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

added logic to check user version against latest available KaggleHub #73

Merged
merged 9 commits into from
Jan 24, 2024

Conversation

mohami2000
Copy link
Contributor

@mohami2000 mohami2000 commented Jan 23, 2024

@mohami2000 mohami2000 requested a review from rosbo January 23, 2024 18:44
Copy link
Contributor

@rosbo rosbo left a 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):
Copy link
Contributor

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:

def _download_file(response: requests.Response, out_file: str, size_read: int, total_size: int, hash_object):

@mohami2000 mohami2000 merged commit e028acc into main Jan 24, 2024
7 checks passed
@mohami2000 mohami2000 deleted the latest_version branch January 24, 2024 14:53
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