A Business Glossary in YAML With Four Python Checks
A glossary in a file, and four checks that find its four faults in a second.
Video #203 ยท Data governance
Steps in the video
- 0:00 A business glossary in a file, with four checks that catch its four faults
- 0:33 The idea
- 1:03 Setup
- 1:35 The glossary
- 2:03 Two more faults
- 2:25 The schema
- 2:43 Thin entries and broken links
- 3:01 Shared words and unlinked columns
- 3:17 Run the checks
- 3:55 What this does not show
- 4:26 Mistakes to avoid
- 4:50 My take and next steps
- 5:16 Recap
Files
- check.py (33 lines)
- glossary.yaml (20 lines)
- run.py (12 lines)
- schema.py (10 lines)
Tested with
Python 3.12.15 | PyYAML==6.0.3
What this does not show
Made-up shop and glossary with planted faults; the checks test the file's shape, not whether a definition is right.
Sources
- https://atlan.com/know/ai-agent/how-to-manage-kpi-definitions-and-a-business-glossary-in-a-data-catalog/
- https://atlan.com/know/faq/business-glossary-required-fields/
- https://dataedo.com/blog/business-glossary-anatomy
- https://docs.bigeye.com/docs/business-glossary
- https://learn.microsoft.com/en-gb/Purview/unified-catalog-glossary-terms-create-manage
Learning IT by Example.