Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions sdk-resources/build-versioned-sdk.js
Original file line number Diff line number Diff line change
Expand Up @@ -783,11 +783,9 @@ function generateInitPy() {
function patchAndCopyRootFile(filename) {
let content = readFileSafe(path.join(SAILPOINT_DIR, firstPartDir, filename));

// Strip partition docstring header reference (cosmetic)
content = content.replace(
/Identity Security Cloud API - \S+/,
"Identity Security Cloud API"
);
// Strip the partition suffix from the docstring title line (cosmetic).
// Matches any "<title> - <partition>" so it does not depend on the brand name.
content = content.replace(/^(""" *\r?\n[ \t]*)(.+?) - .+$/m, "$1$2");

if (filename === "rest.py" || filename === "api_client.py") {
// Fix: from sailpoint.<partition>.exceptions import → from sailpoint.exceptions import
Expand Down
Loading