Skip to content

Commit 4d19d0b

Browse files
committed
Change datasetSize to datasetRowCount to mirror changes in license server
1 parent ef8e57d commit 4d19d0b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
66
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
77

8-
## [Unreleased]
8+
## [0.3.0a5]
99

1010
### Changed
1111

unboxapi/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -996,11 +996,11 @@ def add_dataset(
996996
) from None
997997

998998
# ----------------------- Subscription plan validations ---------------------- #
999-
if row_count > self.subscription_plan["datasetSize"]:
999+
if row_count > self.subscription_plan["datasetRowCount"]:
10001000
raise exceptions.UnboxSubscriptionPlanException(
10011001
f"The dataset your are trying to upload contains {row_count} rows, "
10021002
"which exceeds your plan's limit of "
1003-
f"{self.subscription_plan['datasetSize']}. \n"
1003+
f"{self.subscription_plan['datasetRowCount']}. \n"
10041004
) from None
10051005
if task_type == TaskType.TextClassification:
10061006
max_text_size = df[text_column_name].str.len().max()

0 commit comments

Comments
 (0)