Skip to content

FND-3884: add pyatlan_v9 creator for QuickSightAnalysisField - #1086

Open
cmgrote wants to merge 1 commit into
mainfrom
FND-3884
Open

cmgrote wants to merge 1 commit into
mainfrom
FND-3884

Conversation

@cmgrote

@cmgrote cmgrote commented Oct 14, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Adds QuickSightAnalysisField.creator() / updater() / trim_to_required() as an overlay (pyatlan_v9/model/assets/_overlays/quick_sight_analysis_field.py) and injects it into the generated class.
  • qualifiedName is {analysis_visual_qualified_name}/{quick_sight_id}, the exact string atlan-quicksight-app emits today (FND-3838 census), so the app can swap its hand-built wire dict for this creator.
  • Analysis and connection qualifiedNames are optional and derived from the visual qualifiedName, so validate(for_creation=True) passes from name, quick_sight_id and the visual qn. Sets the quickSightAnalysisVisual parent relationship.
  • Blank inputs, or a visual qn with fewer than 6 segments, raise ValueError.

Analysis table: posted on FND-3884.

Test plan

  • tests_v9/unit/model/quick_sight_analysis_field_test.py: parity test asserts the app's literal default/quicksight/123/an1/sh1/vis1/dset1-total, plus blank/invalid inputs, derivation, updater
  • QuickSight + asset_methods unit tests pass (583)
  • ruff format / check clean

馃 Generated with Claude Code

https://claude.ai/code/session_017NfZDWbifv53T5tLdbK4KN

Adds a hand-written creator overlay for QuickSightAnalysisField and injects
it into the generated class. The creator emits
{analysis_visual_qualified_name}/{quick_sight_id}, the exact string
atlan-quicksight-app emits today (FND-3838 census). It derives the analysis
and connection qualifiedNames from the visual qualifiedName when not given,
sets the quickSightAnalysisVisual parent relationship, and raises on blank
inputs or a malformed visual qualifiedName.

tests_v9/unit/model/quick_sight_analysis_field_test.py asserts the literal
app qualifiedName.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017NfZDWbifv53T5tLdbK4KN
@linear

linear Bot commented Oct 14, 2026

Copy link
Copy Markdown

FND-3884

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant