Skip to content

Move water use data structure to a dataclass#4120

Open
timothy-nunn wants to merge 3 commits intomainfrom
wateruse-dataclass
Open

Move water use data structure to a dataclass#4120
timothy-nunn wants to merge 3 commits intomainfrom
wateruse-dataclass

Conversation

@timothy-nunn
Copy link
Collaborator

Moves the water_use_variables.py global variables into a dataclass and provides the infrastructure for managing this new way of managing data.

@codecov-commenter
Copy link

codecov-commenter commented Mar 4, 2026

Codecov Report

❌ Patch coverage is 93.90244% with 5 lines in your changes missing coverage. Please review.
✅ Project coverage is 47.33%. Comparing base (0f65c5e) to head (0c622f0).

Files with missing lines Patch % Lines
process/core/io/data_structure_dicts.py 0.00% 2 Missing ⚠️
process/core/caller.py 0.00% 1 Missing ⚠️
process/core/output.py 0.00% 1 Missing ⚠️
process/models/water_use.py 95.45% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4120      +/-   ##
==========================================
+ Coverage   47.30%   47.33%   +0.03%     
==========================================
  Files         140      141       +1     
  Lines       29448    29466      +18     
==========================================
+ Hits        13929    13947      +18     
  Misses      15519    15519              

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

@timothy-nunn timothy-nunn marked this pull request as ready for review March 5, 2026 16:28
@timothy-nunn timothy-nunn requested a review from a team as a code owner March 5, 2026 16:28
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.

3 participants