Kaggle / kagglehub

Python library to access Kaggle resources
Apache License 2.0
42 stars 7 forks source link

Added logic to preserve the structure of a local repo during upload #93

Closed mohami2000 closed 5 months ago

mohami2000 commented 5 months ago

For the purpose of keras upload integration Currently, KaggleHub does not preserve the structure of the repo its uploading. The changes added in this PR make it preserve the repo structure. Furthermore, i added an integration test for uploading zip files and updated integration tests logic to retry model uploading until the instance's archive is updated

neshdev commented 5 months ago

For the purpose of keras upload integration

As mod suggested, a better description explaining the PR would be better. See the docs for best practices.

Ex:

Refactored upload to use zip archive.
* Added zip archive functionality for upload
* Added test for ...
* see b/... for more details