APP-9107 : Add sdk support for rich text enrichment #740
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
✨ Description
Briefly explain the purpose of this PR and what it covers. Mention any related issues or Jira tickets.
Jira link: [Insert link here]
🧩 Type of change
Select all that apply:
✅ How has this been tested? (e.g. screenshots, logs, workflow links)
Describe how the change was tested. Include:
📋 Checklist
Note
Introduces
RICH_TEXT
custom attribute type, marks options as rich-text (non-multi-valued), and adds an error for invalid rich-text creation.RICH_TEXT
toAtlanCustomAttributePrimitiveType
inpyatlan/model/enums.py
.AttributeDef.Options
to supportis_rich_text
and set it when type isRICH_TEXT
; forceoptions.multi_value_select=False
for rich text inpyatlan/model/typedef.py
.AttributeDef.create
andAttributeDef.create_async
, rejectmulti_valued=True
whenattribute_type == RICH_TEXT
by raising an SDK error.ErrorCode.INVALID_RICH_TEXT_CREATION
(400-076) inpyatlan/errors.py
for attempting to create multi-valued rich-text attributes.Written by Cursor Bugbot for commit 0ecf3ca. This will update automatically on new commits. Configure here.