Skip to content

Expose country variable metadata through the public API - #505

Merged
anth-volk merged 2 commits into
mainfrom
feat/expose-variable-metadata
Aug 29, 2026
Merged

Expose country variable metadata through the public API#505
anth-volk merged 2 commits into
mainfrom
feat/expose-variable-metadata

Conversation

@anth-volk

@anth-volk anth-volk commented Aug 29, 2026

Copy link
Copy Markdown
Contributor

Fixes #504

Summary

  • expose selected country-model variable metadata through the public Variable model
  • normalize references and country metadata into JSON-safe values
  • populate the fields through the shared country-model loader while preserving compatibility with older models
  • exclude empty organizational parameter nodes from the public list and name lookup
  • cover synthetic, UK, and US variables and parameter nodes

Tests

  • uv run pytest -q (811 passed)
  • uv run --no-sync make lint

@anth-volk
anth-volk marked this pull request as ready for review August 29, 2026 17:03
@anth-volk
anth-volk merged commit c982694 into main Aug 29, 2026
12 checks passed
@anth-volk
anth-volk deleted the feat/expose-variable-metadata branch August 29, 2026 17:04
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.

Expose country variable metadata through the public API

1 participant