Skip to content

chore: implement getter methods for further analysis - #209

Open
mcllerena wants to merge 5 commits into
mainfrom
feat/implement-getter-functions
Open

mcllerena wants to merge 5 commits into
mainfrom
feat/implement-getter-functions

Conversation

@mcllerena

@mcllerena mcllerena commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

This PR implements the following database getter methods for analysis and querying:

  • get_config() retrieves one configuration entry or all entries; missing keys raise NotFoundError.
  • get_custom_columns() returns custom columns, optionally filtered by class.
  • get_metadata() retrieves metadata for objects, memberships, or data, with optional class and property filters.
  • get_property_unit() resolves a property’s unit; returns an empty string when no unit value is set.
  • get_text() retrieves text records for a data ID, optionally filtered by class ID.
  • get_unit() returns the full unit record; raises NotFoundError when the ID is missing.

@github-actions github-actions Bot added the tests label Nov 4, 2026
@mcllerena
mcllerena requested review from akrivi and pesap November 4, 2026 16:55
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.28%. Comparing base (73e7fab) to head (360717a).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #209      +/-   ##
==========================================
+ Coverage   96.23%   96.28%   +0.04%     
==========================================
  Files          22       22              
  Lines        3587     3630      +43     
==========================================
+ Hits         3452     3495      +43     
  Misses        135      135              

☔ 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.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants