Skip to content

Commit 701fa51

Browse files
committed
updated to handle api key id
1 parent 52309df commit 701fa51

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

CHANGES.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,5 @@
3535
- Added ability to get individual flag definitions with the `get_definition` method of splitDefinition
3636
3.1.12 (Jan 13, 2024)
3737
- Added ability to retrieve API keys when creating an environment
38+
3.1.13 (Jan 31, 2024)
39+
- Updated keyId of an API KEY to be the actual ID and not the key itself

pyproject.toml

Lines changed: 1 addition & 1 deletion
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.1.12"
7+
version = "3.1.13"
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",

splitapiclient/resources/apikey.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def __init__(self, data=None, client=None):
3939
'''
4040
if not data:
4141
data = {}
42-
BaseResource.__init__(self, data.get('key'), client)
42+
BaseResource.__init__(self, data.get('id'), client)
4343
self._key = data.get('key')
4444
self._name = data.get('name')
4545
self._apiKeyType = data.get('apiKeyType')

splitapiclient/version.py

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

0 commit comments

Comments
 (0)