Uninett / zino

Zino 2.0 - Network state monitor for research networks
Apache License 2.0
4 stars 5 forks source link

Revert using alias when dumping to state file #353

Closed johannaengland closed 3 months ago

johannaengland commented 3 months ago

Scope and purpose

Fixes a little mistake introduced in #328. We need the by_alias flag in model_dump_simple_attrs, since that is what is used by the API, but not when dumping to the state file.

Contributor Checklist

Every pull request should have this checklist filled out, no matter how small it is. More information about contributing to Zino can be found in the README.

sonarcloud[bot] commented 3 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud

codecov[bot] commented 3 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 98.60%. Comparing base (f9fd3fc) to head (8faea6e). Report is 22 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #353 +/- ## ======================================= Coverage 98.60% 98.60% ======================================= Files 77 77 Lines 9687 9687 ======================================= Hits 9551 9551 Misses 136 136 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.