Skip to content

Fix current Python SDK retrieval surfaces - #349

Merged
ayush-shah merged 7 commits into
latest-updatefrom
ayush-shah-codex/python-sdk-retrieval-fix
Jul 31, 2026
Merged

ayush-shah merged 7 commits into
latest-updatefrom
ayush-shah-codex/python-sdk-retrieval-fix

Conversation

@ayush-shah

@ayush-shah ayush-shah commented Jul 17, 2026 •

Copy link
Copy Markdown
Member

Summary

  • make the v1.13 Python SDK page canonical and current
  • redirect generic and duplicate SDK paths; preserve v1.12 history
  • remove stale current-tree SDK duplicates and child pages
  • update current ingestion pins and release automation guards
  • verify the canonical GitHub example during release bumps

Validation

  • mint broken-links passes
  • current-tree package, facade, and Python Tables method validation passes
  • docs.json parses
  • the release guard requires sdk-examples/02_basic_crud.py with a top-level metadata.sdk import

Merge order

Merge open-metadata/openmetadata-demo#73 first. This PR targets latest-update to isolate the v1.13 release changes.

Where `x.y.z` is the version of the OpenMetadata ingestion package. Note that the version needs to match the server version. If we are using the server at 1.1.0, then the ingestion package needs to also be 1.1.0.

The plugin parameter is a list of the sources that we want to ingest. An example would look like this `openmetadata-ingestion[mysql,snowflake,s3]==1.1.0`.
The plugin parameter is a list of the sources that we want to ingest. An example would look like this `openmetadata-ingestion[mysql,snowflake,s3]~=1.13.0`.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

~=1.13.0 can install a later 1.13.x ingestion package, while the preceding text says the ingestion package must match the server version. The changed Airflow, Composer, and MWAA external-deployment examples carry the same mismatch. Please include the fourth release segment—for example, ~=1.13.0.0—in those examples, or otherwise make those external-deployment pages match the documented exact-version policy.

@ayush-shah
ayush-shah marked this pull request as ready for review July 27, 2026 10:23

@ayush-shah ayush-shah left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Defect-first review on head a68f471:

  • [P2] Match the package pin to supported server versions. v1.13.x/how-to-guides/data-quality-observability/quality/data-quality-as-code/getting-started.mdx forces openmetadata-ingestion~=1.13.1.0 while permitting OpenMetadata 1.11+; the external-profiler page permits 1.2.1+. This conflicts with the troubleshooting rule that client and server x.y.z must match. Raise the prerequisites to 1.13.1 or derive the package constraint from the server version.

Validation: the refreshed Tables examples and workflow guard align with the 1.13.1 SDK, and Mintlify passes. Dependency gap: the canonical examples still depend on draft openmetadata-demo#73.

@ayush-shah ayush-shah left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Follow-up on head bf4e2be:

  • Fixed [P2]: both versioned prerequisites now require OpenMetadata 1.13.1, matching the openmetadata-ingestion~=1.13.1.0 package constraint.
  • Remaining reviewed findings: none.
  • Validation: inspected the exact current diff and surrounding source; Mintlify link validation passes.
  • Remaining evidence gap: the canonical examples still depend on draft openmetadata-demo#73.

@ayush-shah
ayush-shah requested a review from Copilot July 28, 2026 05:20

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@kiran1287

Copy link
Copy Markdown
Collaborator

Re: merge-order dependency on openmetadata-demo#73

Verified the dependency. Two issues to resolve before merging:

1. The new CI guard checks a file that doesn't exist — and won't after #73 merges

The bump-latest-version.yml step fetches:

sdk-examples/02_basic_crud.py

That file returns 404 today. PR #73 doesn't add it to sdk-examples/ — it adds 02_basic_crud.py to sdk-2.0-examples/python/. The CI guard will fail both now and after #73 merges unless the path is corrected.

2. The "Next steps" link points to old-style code

v1.13.x/api-reference/sdk/python.mdx links to sdk-examples/, which currently uses metadata.ingestion.ometa.ometa_api — the exact pattern this PR replaces.

Suggested fixes before merging:

  1. Update the CI guard curl path: sdk-examples/02_basic_crud.py → sdk-2.0-examples/python/02_basic_crud.py
  2. Update the "Next steps" link: /sdk-examples → /sdk-2.0-examples/python
  3. Merge openmetadata-demo#73 first so both paths exist

@ayush-shah
ayush-shah merged commit a97cb8f into latest-update Jul 31, 2026
2 checks passed
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.

3 participants