Skip to content

Commit

Permalink
better backwards compatibility (#489)
Browse files Browse the repository at this point in the history
  • Loading branch information
zeiler authored Jan 17, 2025
1 parent 540c0eb commit 82295a8
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## [[11.0.5]](https://github.com/Clarifai/clarifai-python/releases/tag/11.0.5) - [PyPI](https://pypi.org/project/clarifai/11.0.5/) - 2025-01-17

### Changed

- Added tests for downloads and various improvements [(#489)] (https://github.com/Clarifai/clarifai-python/pull/489)

## [[11.0.4]](https://github.com/Clarifai/clarifai-python/releases/tag/11.0.4) - [PyPI](https://pypi.org/project/clarifai/11.0.4/) - 2025-01-17

### Changed
Expand Down
2 changes: 1 addition & 1 deletion clarifai/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "11.0.4"
__version__ = "11.0.5"
2 changes: 2 additions & 0 deletions clarifai/runners/models/model_upload.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ def __init__(self, folder: str, validate_api_ids: bool = True, download_validati
just downloading a checkpoint.
"""
self._client = None
if not validate_api_ids: # for backwards compatibility
download_validation_only = True
self.download_validation_only = download_validation_only
self.folder = self._validate_folder(folder)
self.config = self._load_config(os.path.join(self.folder, 'config.yaml'))
Expand Down

0 comments on commit 82295a8

Please sign in to comment.