Skip to content

Get the searchable facets of data sources from ESMValCore - #19

Merged
bouweandela merged 5 commits into
mainfrom
searchable-facets
Nov 4, 2026
Merged

bouweandela merged 5 commits into
mainfrom
searchable-facets

Conversation

@bouweandela

@bouweandela bouweandela commented Nov 2, 2026 •

Copy link
Copy Markdown
Member

Completion of facet values from local data sources now uses DataSource.searchable_facets from ESMValCore (ESMValGroup/ESMValCore#3261) instead of parsing the path templates of the data sources, so the facets of other kinds of data sources can also be completed. Data sources without this attribute, which are deprecated in ESMValCore, offer no facets for completion.

This needs the latest recipe-json-schema branch of ESMValCore, so pixi.lock has been updated. The minimum version in pyproject.toml stays 2.16.0.dev0 until v2.16 is released.

Tested with pixi run test and pixi run pre-commit run --all-files.

🤖 Generated with Claude Code

Use DataSource.searchable_facets instead of parsing the templates of
the paths of local data sources.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@codecov-commenter

codecov-commenter commented Nov 2, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.67%. Comparing base (03ec629) to head (e5ea368).

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #19      +/-   ##
==========================================
- Coverage   93.68%   93.67%   -0.01%     
==========================================
  Files          21       21              
  Lines        2328     2325       -3     
  Branches      350      350              
==========================================
- Hits         2181     2178       -3     
  Misses        110      110              
  Partials       37       37              
Flag Coverage Δ
default 95.64% <100.00%> (-0.01%) ⬇️
py312 95.64% <100.00%> (-0.01%) ⬇️
vscode-1.93.0 82.30% <ø> (ø)
vscode-stable 82.30% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@bouweandela
bouweandela merged commit ef9d34f into main Nov 4, 2026
6 checks passed
@bouweandela
bouweandela deleted the searchable-facets branch November 4, 2026 21:11
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.

2 participants