Skip to content

Improve AvailableResult.__repr__() #1015

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

Merged
merged 2 commits into from
Jun 30, 2023
Merged

Conversation

PProfizi
Copy link
Contributor

@PProfizi PProfizi commented Jun 30, 2023

This allows to have a nicer list of AvailableResult objects when requesting model.metadata.result_info.available_results:
[AvailableResult<name=enthalpy>, AvailableResult<name=mass_flow_rate>, AvailableResult<name=static_pressure>, AvailableResult<name=mean_static_pressure>, AvailableResult<name=rms_static_pressure>]

@PProfizi PProfizi added the enhancement New feature or request label Jun 30, 2023
@PProfizi PProfizi self-assigned this Jun 30, 2023
@codecov
Copy link

codecov bot commented Jun 30, 2023

Codecov Report

Merging #1015 (98aa371) into master (7090325) will increase coverage by 0.06%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #1015      +/-   ##
==========================================
+ Coverage   88.68%   88.74%   +0.06%     
==========================================
  Files          76       76              
  Lines        8605     8607       +2     
==========================================
+ Hits         7631     7638       +7     
+ Misses        974      969       -5     

@PProfizi PProfizi marked this pull request as ready for review June 30, 2023 09:15
@PProfizi PProfizi modified the milestone: v0.9.0 Jun 30, 2023
@PProfizi PProfizi merged commit d0a933f into master Jun 30, 2023
@PProfizi PProfizi deleted the feat/availableresult_repr branch June 30, 2023 11:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants