Draft
Conversation
- Added semantic field to AtlanTag class with APPEND, REMOVE, and REPLACE support - Updated AtlanTag.of() and AtlanTag.of_async() methods to accept semantic parameter - Implemented tag semantic handling logic in Save.prepare_request() and prepare_request_async() - Tags with APPEND semantic are added to add_or_update_classifications - Tags with REMOVE semantic are added to remove_classifications - Tags with REPLACE semantic or None (backward compatibility) remain in atlan_tags - Query parameters are automatically set based on semantic usage - Maintains full backward compatibility with existing functionality Resolves LINTEST-345
Author
|
Cursor Agent can help with this pull request. Just |
- Remove trailing whitespace from docstrings and comments - Split long line to meet 88 character limit - Ensure proper blank line spacing per ruff format requirements
- Keep generator expression in any() on single line per ruff standards
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
This PR introduces support for in-bulk asset tag management using
SaveSemanticin Pyatlan. It enhances theAtlanTagclass with asemanticfield, allowing users to specifyAPPEND,REPLACE, orREMOVEoperations for tags. The synchronous and asynchronoussave()methods have been updated to process these semantics, ensuring backward compatibility with existing functionality.Jira link: LINTEST-345
🧩 Type of change
Select all that apply:
✅ How has this been tested? (e.g. screenshots, logs, workflow links)
The changes were verified through a self-review of the implementation against the requirements outlined in the Linear issue. Linter checks were performed and passed. No specific unit tests or integration tests were generated by the agent during this session.
📋 Checklist