Skip to content

Commit e9aa0b5

Browse files
Bump version to v1.4.33
1 parent f13960e commit e9aa0b5

31 files changed

+52
-34
lines changed

sailpoint/beta/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
""" # noqa: E501
1515

1616

17-
__version__ = "1.4.32"
17+
__version__ = "1.4.33"
1818

1919
# import apis into sdk package
2020
from sailpoint.beta.api.access_model_metadata_api import AccessModelMetadataApi

sailpoint/beta/api_client.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@
1919
import json
2020
import mimetypes
2121
import os
22+
import platform
2223
import re
24+
import sys
2325
import tempfile
2426
import xmltodict
2527

@@ -102,7 +104,10 @@ def __init__(
102104
self.default_headers[header_name] = header_value
103105
self.cookie = cookie
104106
# Set default User-Agent.
105-
self.user_agent = 'OpenAPI-Generator/1.4.32/python'
107+
self.user_agent = 'SailPoint-SDK-Python/1.4.33'
108+
if configuration and getattr(configuration, 'consumer_identifier', None) and getattr(configuration, 'consumer_version', None):
109+
self.user_agent = f'{self.user_agent} ({configuration.consumer_identifier}/{configuration.consumer_version})'
110+
self.user_agent = f'{self.user_agent} ({sys.platform}; {platform.machine()}) Python/{sys.version.split()[0]} (openapi-generator/7.12.0)'
106111
self.client_side_validation = configuration.client_side_validation
107112

108113
def __enter__(self):

sailpoint/beta/configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -519,7 +519,7 @@ def to_debug_report(self) -> str:
519519
"OS: {env}\n"\
520520
"Python Version: {pyversion}\n"\
521521
"Version of the API: 3.1.0-beta\n"\
522-
"SDK Package Version: 1.4.32".\
522+
"SDK Package Version: 1.4.33".\
523523
format(env=sys.platform, pyversion=sys.version)
524524

525525
def get_host_settings(self) -> List[HostSetting]:

sailpoint/beta_README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Use these APIs to interact with the Identity Security Cloud platform to achieve
44
The `sailpoint.beta` package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
55

66
- API version: 3.1.0-beta
7-
- Package version: 1.4.32
7+
- Package version: 1.4.33
88
- Generator version: 7.12.0
99
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
1010
For more information, please visit [https://developer.sailpoint.com/discuss/api-help](https://developer.sailpoint.com/discuss/api-help)

sailpoint/v2024/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
""" # noqa: E501
1515

1616

17-
__version__ = "1.4.32"
17+
__version__ = "1.4.33"
1818

1919
# import apis into sdk package
2020
from sailpoint.v2024.api.access_model_metadata_api import AccessModelMetadataApi

sailpoint/v2024/api_client.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@
1919
import json
2020
import mimetypes
2121
import os
22+
import platform
2223
import re
24+
import sys
2325
import tempfile
2426
import xmltodict
2527

@@ -102,7 +104,10 @@ def __init__(
102104
self.default_headers[header_name] = header_value
103105
self.cookie = cookie
104106
# Set default User-Agent.
105-
self.user_agent = 'OpenAPI-Generator/1.4.32/python'
107+
self.user_agent = 'SailPoint-SDK-Python/1.4.33'
108+
if configuration and getattr(configuration, 'consumer_identifier', None) and getattr(configuration, 'consumer_version', None):
109+
self.user_agent = f'{self.user_agent} ({configuration.consumer_identifier}/{configuration.consumer_version})'
110+
self.user_agent = f'{self.user_agent} ({sys.platform}; {platform.machine()}) Python/{sys.version.split()[0]} (openapi-generator/7.12.0)'
106111
self.client_side_validation = configuration.client_side_validation
107112

108113
def __enter__(self):

sailpoint/v2024/configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -519,7 +519,7 @@ def to_debug_report(self) -> str:
519519
"OS: {env}\n"\
520520
"Python Version: {pyversion}\n"\
521521
"Version of the API: v2024\n"\
522-
"SDK Package Version: 1.4.32".\
522+
"SDK Package Version: 1.4.33".\
523523
format(env=sys.platform, pyversion=sys.version)
524524

525525
def get_host_settings(self) -> List[HostSetting]:

sailpoint/v2024_README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Use these APIs to interact with the Identity Security Cloud platform to achieve
44
The `sailpoint.v2024` package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
55

66
- API version: v2024
7-
- Package version: 1.4.32
7+
- Package version: 1.4.33
88
- Generator version: 7.12.0
99
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
1010
For more information, please visit [https://developer.sailpoint.com/discuss/api-help](https://developer.sailpoint.com/discuss/api-help)

sailpoint/v2025/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
""" # noqa: E501
1515

1616

17-
__version__ = "1.4.32"
17+
__version__ = "1.4.33"
1818

1919
# import apis into sdk package
2020
from sailpoint.v2025.api.access_model_metadata_api import AccessModelMetadataApi

sailpoint/v2025/api_client.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@
1919
import json
2020
import mimetypes
2121
import os
22+
import platform
2223
import re
24+
import sys
2325
import tempfile
2426
import xmltodict
2527

@@ -102,7 +104,10 @@ def __init__(
102104
self.default_headers[header_name] = header_value
103105
self.cookie = cookie
104106
# Set default User-Agent.
105-
self.user_agent = 'OpenAPI-Generator/1.4.32/python'
107+
self.user_agent = 'SailPoint-SDK-Python/1.4.33'
108+
if configuration and getattr(configuration, 'consumer_identifier', None) and getattr(configuration, 'consumer_version', None):
109+
self.user_agent = f'{self.user_agent} ({configuration.consumer_identifier}/{configuration.consumer_version})'
110+
self.user_agent = f'{self.user_agent} ({sys.platform}; {platform.machine()}) Python/{sys.version.split()[0]} (openapi-generator/7.12.0)'
106111
self.client_side_validation = configuration.client_side_validation
107112

108113
def __enter__(self):

0 commit comments

Comments
 (0)