From 8d52fdbff45b6eea2151d7af7b1991c3d202beb2 Mon Sep 17 00:00:00 2001 From: Philippe Modard Date: Tue, 23 Jan 2024 13:41:45 +0100 Subject: [PATCH] 1.6.3 (#543) * 1.6.3 * 1.6.3 --- CHANGELOG.md | 10 ++++++++++ KaggleSwagger.yaml | 3 +++ kaggle/api/kaggle_api_extended.py | 2 +- kaggle/models/model_new_instance_request.py | 2 +- setup.py | 2 +- 5 files changed, 16 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 612dec9..88aaae8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,16 @@ Changelog ==== +### 1.6.3 + +Release date: 01/11/24 +* Add "Flax" and "Pax" frameworks + +### 1.6.2 + +Release date: 01/09/24 +* Add "Other" framework + ### 1.6.1 Release date: 01/08/24 * Fix dataset/model upload. diff --git a/KaggleSwagger.yaml b/KaggleSwagger.yaml index c0689b8..313220f 100644 --- a/KaggleSwagger.yaml +++ b/KaggleSwagger.yaml @@ -1816,11 +1816,14 @@ definitions: - tfJs - pyTorch - jax + - flax + - pax - coral - scikitLearn - mxnet - onnx - keras + - other overview: type: string description: The overview of the model instance (markdown) diff --git a/kaggle/api/kaggle_api_extended.py b/kaggle/api/kaggle_api_extended.py index 69fb506..f0c0c9b 100644 --- a/kaggle/api/kaggle_api_extended.py +++ b/kaggle/api/kaggle_api_extended.py @@ -271,7 +271,7 @@ def __repr__(self): class KaggleApi(KaggleApi): - __version__ = '1.6.1' + __version__ = '1.6.3' CONFIG_NAME_PROXY = 'proxy' CONFIG_NAME_COMPETITION = 'competition' diff --git a/kaggle/models/model_new_instance_request.py b/kaggle/models/model_new_instance_request.py index 36aed21..0539027 100644 --- a/kaggle/models/model_new_instance_request.py +++ b/kaggle/models/model_new_instance_request.py @@ -159,7 +159,7 @@ def framework(self, framework): """ if framework is None: raise ValueError("Invalid value for `framework`, must not be `None`") # noqa: E501 - allowed_values = ["tensorFlow1", "tensorFlow2", "tfLite", "tfJs", "pyTorch", "jax", "coral", "scikitLearn", "mxnet", "onnx", "keras"] # noqa: E501 + allowed_values = ["tensorFlow1", "tensorFlow2", "tfLite", "tfJs", "pyTorch", "jax", "flax", "pax", "coral", "scikitLearn", "mxnet", "onnx", "keras", "other"] # noqa: E501 if framework not in allowed_values: raise ValueError( "Invalid value for `framework` ({0}), must be one of {1}" # noqa: E501 diff --git a/setup.py b/setup.py index c50c67a..7515410 100644 --- a/setup.py +++ b/setup.py @@ -19,7 +19,7 @@ setup( name='kaggle', - version='1.6.1', + version='1.6.3', description='Kaggle API', long_description= ('Official API for https://www.kaggle.com, accessible using a command line '