Skip to content

Commit 9552340

Browse files
authored
Merge pull request #26 from splitio/3.5.3-fix-large-segment-bug
2 parents 89e12a8 + 565ac4c commit 9552340

File tree

4 files changed

+10
-7
lines changed

4 files changed

+10
-7
lines changed

CHANGES.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,6 @@
4444
3.5.1 (June 20, 2025)
4545
- Updated to support rule based segments
4646
3.5.2 (June 20, 2025)
47-
- fixed bug in updating rule based segments
47+
- fixed bug in updating rule based segments
48+
3.5.3 (Jul 10, 2025)
49+
- fixed bug in listing large segments

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "splitapiclient"
7-
version = "3.5.2"
7+
version = "3.5.3"
88
description = "This Python Library provide full support for Split REST Admin API, allow creating, deleting and editing Environments, Splits, Split Definitions, Segments, Segment Keys, Users, Groups, API Keys, Change Requests, Attributes and Identities"
99
classifiers = [
1010
"Programming Language :: Python :: 3",
@@ -69,4 +69,4 @@ setup_requires = "pytest-runner"
6969
[options.tests_require]
7070
mock = "=2.0.0"
7171
pytest-mock = "=1.6.0"
72-
pytest = "=6.2.4"
72+
pytest = "=6.2.4"

splitapiclient/microclients/large_segment_microclient.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,10 @@ def list(self, workspace_id):
8787
workspaceId = workspace_id,
8888
)
8989
for item in response:
90-
final_list.append(as_dict(item))
91-
92-
item['workspaceId'] = workspace_id
90+
item_dict = as_dict(item)
91+
item_dict['workspaceId'] = workspace_id
92+
final_list.append(item_dict)
93+
9394
return [LargeSegment(item, self._http_client) for item in final_list]
9495

9596
def find(self, large_segment_name, workspace_id):

splitapiclient/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '3.5.2'
1+
__version__ = '3.5.3'

0 commit comments

Comments
 (0)