-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Labels
Description
As a data engineer
I want a simple Python API to define and run OpenMetadata data quality tests on my datasets
So that I can integrate data quality checks directly into my ETL or ELT code without manually interacting with the OpenMetadata APIs.
Acceptance Criteria
- I can initialize a
TestRunner
for a service or table. - I can add one or more test cases using simple Python objects or functions.
- I can run the tests and receive structured results in code.
- The API uses existing OpenMetadata test definitions where possible.
Example API
from metadata.sdk.data_quality import TableColumnCountToBeBetween, TestRunner
runner = TestRunner.for_service("MySQL.default.openmetadata_db.bot_entity")
runner.add_test(TableColumnCountToBeBetween(min_count=10))
results = runner.run_and_handle()
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
In Review / QA 👀