Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use in-built type for parameter version #583

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

DominicOram
Copy link
Contributor

Fixes #461

To test:

  • Confirm unit tests still pass

Copy link

codecov bot commented Oct 17, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 78.23%. Comparing base (efbe991) to head (11b7a1b).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #583      +/-   ##
==========================================
+ Coverage   78.22%   78.23%   +0.01%     
==========================================
  Files          92       92              
  Lines        6801     6792       -9     
==========================================
- Hits         5320     5314       -6     
+ Misses       1481     1478       -3     
Components Coverage Δ
i24 SSX 57.17% <ø> (ø)
hyperion 96.31% <100.00%> (+0.07%) ⬆️
other 100.00% <ø> (ø)

Copy link
Contributor

@olliesilvester olliesilvester left a comment

Choose a reason for hiding this comment

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

Nice, thanks

@@ -108,21 +100,16 @@ def __hash__(self) -> int:
return self.json().__hash__()
Copy link
Contributor

Choose a reason for hiding this comment

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

My pylance tells me we should use model_dump_json() instead of .json

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.

Tidy up parameter version
2 participants