Skip to content

Conversation

vaibhavatlan
Copy link
Collaborator

@vaibhavatlan vaibhavatlan commented Oct 11, 2025

✨ 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:

  • 🚀 New feature (non-breaking change that adds functionality)
  • 🐛 Bug fix (non-breaking change that fixes an issue) — please include tests! Refer testing-toolkit 🧪
  • 🔄 Refactor (code change that neither fixes a bug nor adds a feature)
  • 🧹 Maintenance (chores, cleanup, minor improvements)
  • 💥 Breaking change (fix or feature that may break existing functionality)
  • 📦 Dependency upgrade/downgrade
  • 📚 Documentation updates

✅ How has this been tested? (e.g. screenshots, logs, workflow links)

Describe how the change was tested. Include:

  • Steps to reproduce
  • Any relevant screenshots, logs, or links to successful workflow runs
  • Details on environment/setup if applicable

📋 Checklist

  • My code follows the project’s style guidelines
  • I’ve performed a self-review of my code
  • I’ve added comments in tricky or complex areas
  • I’ve updated the documentation as needed
  • There are no new warnings from my changes
  • I’ve added tests to cover my changes
  • All new and existing tests pass locally

Note

Introduces RICH_TEXT custom attribute type, marks options as rich-text (non-multi-valued), and adds an error for invalid rich-text creation.

  • Custom Metadata / Typedefs:
    • Add RICH_TEXT to AtlanCustomAttributePrimitiveType in pyatlan/model/enums.py.
    • Extend AttributeDef.Options to support is_rich_text and set it when type is RICH_TEXT; force options.multi_value_select=False for rich text in pyatlan/model/typedef.py.
  • Validation:
    • In AttributeDef.create and AttributeDef.create_async, reject multi_valued=True when attribute_type == RICH_TEXT by raising an SDK error.
  • Errors:
    • Add ErrorCode.INVALID_RICH_TEXT_CREATION (400-076) in pyatlan/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.

@vaibhavatlan vaibhavatlan changed the title PP-9107 : Add sdk support for rich text enrichment APP-9107 : Add sdk support for rich text enrichment Oct 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant