Skip to content

feat(pyatlan_v9): sync models from atlanhq/models BLDX-1206 [ PART-1069 ]#947

Merged
Aryamanz29 merged 2 commits into
mainfrom
part-1069
Jun 2, 2026
Merged

feat(pyatlan_v9): sync models from atlanhq/models BLDX-1206 [ PART-1069 ]#947
Aryamanz29 merged 2 commits into
mainfrom
part-1069

Conversation

@prateek11rai
Copy link
Copy Markdown
Collaborator

@prateek11rai prateek11rai commented Jun 1, 2026

Summary

Regenerates pyatlan_v9 from the rebased BLDX-1206 branch of atlanhq/models, which is master + renderer/toolkit/workflow improvements.

What's new (brought in from models@master)

  • Unstructured asset hierarchy (from atlanhq/models#1958): Unstructured, UnstructuredContainer, UnstructuredFolder, UnstructuredObject + related — final no-suffix form after master's V-suffix drop
  • Shared summary attributes propagated to every asset: assetSummaryProvider, assetSummary, assetSummaryFilterTokens
  • SAP BW hierarchy: sapbw, sapbwadso, sapbw_data_source, sapbw_info_*, sapbw_query, sapbw_transformation, sapbwdtp, etc.
  • SAP ERP additions: sap_column_process, sap_erp_fiori_app, sap_process
  • Snowflake: snowflake_listing, snowflake_share, plus Coalesce SQL attributes on Snowflake
  • Agent typedefs: agent, agent_related
  • Context repositories relation across all assets

What's removed

  • Orphaned unstructured_v2*.py and _init_unstructured_v2.py — superseded by the unsuffixed regeneration, no remaining imports in the codebase

Generator-level improvements (from BLDX-1206 renderer fixes)

Generation used atlanhq/models#1960's renderer commits on top of master:

  • semantic field added to Entity base class
  • Restored validate() / minimize() / relate() SDK methods via overlay system
  • regularizeRelationships for cleaner Atlas JSON
  • Knowledge typedef generation fix
  • type_name defaults to UNSET for correct serialization

Numbers

  • 484 files changed (+32,131 / -1,254)
  • 451 modified (mostly additive — Asset.pkl summary attrs propagation)
  • 31 new files (Unstructured x6, SAP BW x14, SAP ERP x3, Agent x2, Snowflake listing/share x2, _init_x4)
  • 6 deleted (unstructured_v2* orphans)

Context

🤖 Generated with Claude Code

Regenerates pyatlan_v9 from the rebased BLDX-1206 branch of atlanhq/models
(PR #1960), which is master + renderer/toolkit/workflow improvements.

Brings in master content not yet reflected in pyatlan_v9:
- Unstructured asset hierarchy from atlanhq/models#1958 (Unstructured,
  UnstructuredContainer, UnstructuredFolder, UnstructuredObject) — final
  no-suffix form after master's V-suffix drop
- Shared summary attributes propagated to every asset
  (assetSummaryProvider, assetSummary, assetSummaryFilterTokens)
- SapErpFioriApp and SAP BW asset hierarchy (sapbw, sapbwadso,
  sapbw_data_source/info_*/query/transformation, etc.)
- Agent and agent_related typedefs
- SnowflakeListing and SnowflakeShare
- Context repositories relation across all assets
- Coalesce SQL attributes on Snowflake

Removed orphaned V2-suffix files now superseded by the unsuffixed
generation: unstructured_v2*.py, _init_unstructured_v2.py.

Generation uses BLDX-1206's renderer fixes (semantic field on Entity,
validate/minimize/relate overlay support, regularizeRelationships, Knowledge
typedef fix) which produce a leaner, more stable output than master alone.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@prateek11rai prateek11rai changed the title feat(pyatlan_v9): sync models from atlanhq/models BLDX-1206 [PART-1069] feat(pyatlan_v9): sync models from atlanhq/models BLDX-1206 [ PART-1069 ] Jun 1, 2026
@prateek11rai prateek11rai requested a review from Aryamanz29 June 1, 2026 16:46
The renderer on atlanhq/models#1960 mis-rewrites `_validate_connector_type_value`
(a v8 helper in pyatlan/model/assets/connection.py) as an import from
pyatlan_v9.model.assets.connection — i.e. the file imports from itself,
causing a circular ImportError that breaks tests_v9/unit/ collection.

Restore the original v8 import path. Inline comment marks this as a
hand-patch to be reverted when the renderer is fixed upstream.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@prateek11rai
Copy link
Copy Markdown
Collaborator Author

Note: one file was hand-patchedpyatlan_v9/model/assets/connection.py (commit on this branch).

The BLDX-1206 renderer mis-rewrites _validate_connector_type_value (a helper that lives in v8 at pyatlan/model/assets/connection.py, added in BLDX-1294) as an import from pyatlan_v9.model.assets.connection — i.e. the generated file imports from itself, producing a circular ImportError that broke tests_v9/unit/ collection across all Python versions.

I restored the original v8 import path and added an inline comment marking the line as a hand-patch to be reverted when the upstream renderer is fixed. Surfaced upstream as a comment on atlanhq/models#1960.

Copy link
Copy Markdown
Member

@Aryamanz29 Aryamanz29 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - thanks! @prateek11rai 🚀

@Aryamanz29 Aryamanz29 added feature New feature or request run_pyatlan_v9_integration_test To trigger pyatlan v9 (msgspec-based) integration tests suite labels Jun 1, 2026
@Aryamanz29 Aryamanz29 merged commit a8671a1 into main Jun 2, 2026
110 of 141 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New feature or request run_pyatlan_v9_integration_test To trigger pyatlan v9 (msgspec-based) integration tests suite

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants