Skip to content

Commit cbbb058

Browse files
Add v2026 release to the python SDK
1 parent f088f70 commit cbbb058

File tree

90 files changed

+8860
-3954
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

90 files changed

+8860
-3954
lines changed

.github/workflows/build_pr.yaml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,17 @@ jobs:
7878
rm -rf ./sailpoint/v2025
7979
java -jar openapi-generator-cli.jar generate -i api-specs/idn/sailpoint-api.v2025.yaml -g python -o . --global-property skipFormModel=false,apiDocs=true,modelDocs=true --config sdk-resources/v2025-config.yaml --enable-post-process-file
8080
node sdk-resources/postscript.js ./sailpoint/v2025
81+
82+
- name: Build V2026 SDK
83+
id: buildV2026
84+
if: steps.buildV2025.outcome == 'success'
85+
run: |
86+
rm -rf ./sailpoint/v2026
87+
java -jar openapi-generator-cli.jar generate -i api-specs/idn/sailpoint-api.v2026.yaml -g python -o . --global-property skipFormModel=false,apiDocs=true,modelDocs=true --config sdk-resources/v2026-config.yaml --enable-post-process-file
88+
node sdk-resources/postscript.js ./sailpoint/v2026
8189
8290
- name: After SDK Build
83-
if: steps.buildV2025.outcome == 'success'
91+
if: steps.buildV2026.outcome == 'success'
8492
run: |
8593
pip install -r requirements.txt
8694
pip install -e .

.github/workflows/bump_version.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ jobs:
7777
yq -i '.packageVersion = "${{ github.event.inputs.version }}"' sdk-resources/v3-config.yaml
7878
yq -i '.packageVersion = "${{ github.event.inputs.version }}"' sdk-resources/v2024-config.yaml
7979
yq -i '.packageVersion = "${{ github.event.inputs.version }}"' sdk-resources/v2025-config.yaml
80+
yq -i '.packageVersion = "${{ github.event.inputs.version }}"' sdk-resources/v2026-config.yaml
8081
8182
8283
@@ -119,6 +120,13 @@ jobs:
119120
rm -rf ./sailpoint/v2025
120121
java -jar openapi-generator-cli.jar generate -i api-specs/idn/sailpoint-api.v2025.yaml -g python -o . --global-property skipFormModel=false --config sdk-resources/v2025-config.yaml --enable-post-process-file
121122
node sdk-resources/postscript.js ./sailpoint/v2025
123+
- name: Build V2026 SDK
124+
id: buildV2026
125+
if: steps.buildV2025.outcome == 'success'
126+
run: |
127+
rm -rf ./sailpoint/v2026
128+
java -jar openapi-generator-cli.jar generate -i api-specs/idn/sailpoint-api.v2026.yaml -g python -o . --global-property skipFormModel=false --config sdk-resources/v2026-config.yaml --enable-post-process-file
129+
node sdk-resources/postscript.js ./sailpoint/v2026
122130
123131
- name: After SDK Build
124132
id: buildSDK

.github/workflows/push_sdk_docs_to_dev_portal.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,11 @@ jobs:
5757
rsync -cav --delete python-sdk/sailpoint/v2025/docs/Models developer-community/docs/tools/sdk/python/Reference/V2025
5858
rsync -av python-sdk/sailpoint/v2025/docs/Examples/python_code_examples_overlay.yaml developer-community/static/code-examples/v2025/
5959
60+
# v2026
61+
rsync -cav --delete python-sdk/sailpoint/v2026/docs/Methods developer-community/docs/tools/sdk/python/Reference/V2026
62+
rsync -cav --delete python-sdk/sailpoint/v2026/docs/Models developer-community/docs/tools/sdk/python/Reference/V2026
63+
rsync -av python-sdk/sailpoint/v2026/docs/Examples/python_code_examples_overlay.yaml developer-community/static/code-examples/v2026/
64+
6065
- name: Check for changes and commit if any
6166
working-directory: developer-community
6267
run: |

.openapi-generator/FILES

Lines changed: 45 additions & 3940 deletions
Large diffs are not rendered by default.

sailpoint/v2026/Index.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
id: models
3+
title: Models
4+
pagination_label: Models
5+
sidebar_label: Models
6+
sidebar_position: 3
7+
sidebar_class_name: models
8+
keywords: ['python', 'Python', 'sdk', 'models']
9+
slug: /tools/sdk/python/v2026/models
10+
tags: ['SDK', 'Software Development Kit', 'v2026', 'models']
11+
---
12+
13+
The Python SDK uses data models to structure and manage data within the API. These models provide essential details about the data, including their attributes, data types, and how the models relate to each other. Understanding these models is crucial to effectively interact with the API.
14+
15+
## Key Features
16+
- Attributes: Describe each attribute, including its name, data type, and whether it's required.
17+
- Validation & Constraints: Highlight any rules or limitations for the attributes, such as format or length limits.
18+
- Example: Provides a sample of how the API uses the model.

sailpoint/v2026/__init__.py

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
# coding: utf-8
2+
3+
# flake8: noqa
4+
5+
"""
6+
Identity Security Cloud v2026 API
7+
8+
Use these APIs to interact with the Identity Security Cloud platform to achieve repeatable, automated processes with greater scalability. We encourage you to join the SailPoint Developer Community forum at https://developer.sailpoint.com/discuss to connect with other developers using our APIs.
9+
10+
The version of the OpenAPI document: v2026
11+
Generated by OpenAPI Generator (https://openapi-generator.tech)
12+
13+
Do not edit the class manually.
14+
""" # noqa: E501
15+
16+
17+
__version__ = "1.3.9"
18+
19+
# import apis into sdk package
20+
from sailpoint.v2026.api.task_management_api import TaskManagementApi
21+
22+
# import ApiClient
23+
from sailpoint.v2026.api_response import ApiResponse
24+
from sailpoint.v2026.api_client import ApiClient
25+
from sailpoint.v2026.configuration import Configuration
26+
from sailpoint.v2026.exceptions import OpenApiException
27+
from sailpoint.v2026.exceptions import ApiTypeError
28+
from sailpoint.v2026.exceptions import ApiValueError
29+
from sailpoint.v2026.exceptions import ApiKeyError
30+
from sailpoint.v2026.exceptions import ApiAttributeError
31+
from sailpoint.v2026.exceptions import ApiException
32+
33+
# import models into sdk package
34+
from sailpoint.v2026.models.array_inner import ArrayInner
35+
from sailpoint.v2026.models.error_message_dto import ErrorMessageDto
36+
from sailpoint.v2026.models.error_response_dto import ErrorResponseDto
37+
from sailpoint.v2026.models.get_task_status401_response import GetTaskStatus401Response
38+
from sailpoint.v2026.models.get_task_status429_response import GetTaskStatus429Response
39+
from sailpoint.v2026.models.json_patch_operation import JsonPatchOperation
40+
from sailpoint.v2026.models.json_patch_operation_value import JsonPatchOperationValue
41+
from sailpoint.v2026.models.locale_origin import LocaleOrigin
42+
from sailpoint.v2026.models.localized_message import LocalizedMessage
43+
from sailpoint.v2026.models.target import Target
44+
from sailpoint.v2026.models.task_definition_summary import TaskDefinitionSummary
45+
from sailpoint.v2026.models.task_return_details import TaskReturnDetails
46+
from sailpoint.v2026.models.task_status import TaskStatus
47+
from sailpoint.v2026.models.task_status_message import TaskStatusMessage
48+
from sailpoint.v2026.models.task_status_message_parameters_inner import TaskStatusMessageParametersInner

sailpoint/v2026/api/__init__.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# flake8: noqa
2+
3+
# import apis into api package
4+
from sailpoint.v2026.api.task_management_api import TaskManagementApi
5+

0 commit comments

Comments
 (0)