Skip to content

Conversation

@pesap
Copy link
Collaborator

@pesap pesap commented Feb 12, 2026

The parent_class context was not propagated from iterate_properties() to _validate_properties() to check_property_exists(). Properties valid only within a parent scope (e.g. Emissions.Generators) were incorrectly rejected.

Closes #97

get_object_properties() and iterate_properties() reject valid properties
when parent_class_enum is not System.

The parent_class context was not propagated from iterate_properties() to _validate_properties() to check_property_exists(). Properties valid only within a parent scope (e.g. Emissions.Generators) were incorrectly rejected.

Closes #97
@github-actions github-actions bot added the tests label Feb 12, 2026
@codecov-commenter
Copy link

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.20%. Comparing base (6f3e408) to head (1de8144).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #100   +/-   ##
=======================================
  Coverage   95.20%   95.20%           
=======================================
  Files           8        8           
  Lines        1688     1688           
=======================================
  Hits         1607     1607           
  Misses         81       81           

☔ View full report in Codecov by Sentry.
📢 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.

Copy link

@Hasakev Hasakev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the quick response, tested on my machine, LGTM!

@pesap pesap requested a review from mcllerena February 12, 2026 02:21
@pesap pesap merged commit 7200897 into main Feb 12, 2026
24 checks passed
@pesap pesap deleted the pesap/system branch February 12, 2026 20:47
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.

get_object_properties() ignores parent_class_enum during validation

3 participants