Skip to content

Commit f1d0ccd

Browse files
authored
Release 1.7.4 (#713)
1 parent e1740ce commit f1d0ccd

File tree

8 files changed

+18
-9
lines changed

8 files changed

+18
-9
lines changed

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
Changelog
22
====
3+
4+
### 1.7.4
5+
6+
Version 1.7.3 was never released. There were errors in versioning on
7+
test.pypi.org. For consistency, we decided to jump several version numbers.
8+
This is the first release since 1.6.17.
9+
10+
The actual changes are described in 1.7.3.
11+
312
### 1.7.3
413

514
There was an error in versioning. We went from 1.6.17 to 1.7.3.

kaggle/api/kaggle_api_extended.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ def __repr__(self):
253253

254254

255255
class KaggleApi:
256-
__version__ = '1.7.4b4'
256+
__version__ = '1.7.4'
257257

258258
CONFIG_NAME_PROXY = 'proxy'
259259
CONFIG_NAME_COMPETITION = 'competition'
@@ -3510,7 +3510,7 @@ def model_instance_files(self,
35103510
return FileList.from_response(response)
35113511
else:
35123512
print('No files found')
3513-
return FileList({})
3513+
return FileList({'files': [], 'nextPageToken': ''})
35143514

35153515
def model_instance_files_cli(self,
35163516
model_instance,

kaggle/models/kaggle_models_extended.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ def __init__(self, init_dict):
122122
self.creation_date = init_dict.creation_date
123123
try:
124124
self.size = File.get_size(init_dict.total_bytes)
125-
except Exception:
125+
except Exception: # AttributeError would be preferred but doesn't work.
126126
self.size = File.get_size(init_dict.size)
127127

128128
def __repr__(self):

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# https://packaging.python.org/en/latest/guides/modernize-setup-py-project/
1010
setup(
1111
name='kaggle',
12-
version='1.7.4b4',
12+
version='1.7.4',
1313
description='Kaggle API',
1414
long_description=(
1515
'Official API for https://www.kaggle.com, accessible using a command line '

src/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "1.7.4b4"
1+
__version__ = "1.7.4"

src/kaggle/api/kaggle_api_extended.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ def __repr__(self):
253253

254254

255255
class KaggleApi:
256-
__version__ = '1.7.4b4'
256+
__version__ = '1.7.4'
257257

258258
CONFIG_NAME_PROXY = 'proxy'
259259
CONFIG_NAME_COMPETITION = 'competition'
@@ -3510,7 +3510,7 @@ def model_instance_files(self,
35103510
return FileList.from_response(response)
35113511
else:
35123512
print('No files found')
3513-
return FileList({})
3513+
return FileList({'files': [], 'nextPageToken': ''})
35143514

35153515
def model_instance_files_cli(self,
35163516
model_instance,

src/kaggle/models/kaggle_models_extended.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ def __init__(self, init_dict):
122122
self.creation_date = init_dict.creation_date
123123
try:
124124
self.size = File.get_size(init_dict.total_bytes)
125-
except Exception:
125+
except Exception: # AttributeError would be preferred but doesn't work.
126126
self.size = File.get_size(init_dict.size)
127127

128128
def __repr__(self):

src/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# https://packaging.python.org/en/latest/guides/modernize-setup-py-project/
1010
setup(
1111
name='kaggle',
12-
version='1.7.4b4',
12+
version='1.7.4',
1313
description='Kaggle API',
1414
long_description=(
1515
'Official API for https://www.kaggle.com, accessible using a command line '

0 commit comments

Comments
 (0)