postlund / pyatv

A client library for Apple TV and AirPlay devices
https://pyatv.dev
MIT License
838 stars 91 forks source link

Use pydantic v1 compatibility when with pydantic v2 #2262

Closed postlund closed 8 months ago

postlund commented 8 months ago

As described in #2261.

codecov[bot] commented 8 months ago

Codecov Report

Attention: 3 lines in your changes are missing coverage. Please review.

Comparison is base (b671e21) 88.95% compared to head (7c6ae9b) 88.97%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #2262 +/- ## ========================================== + Coverage 88.95% 88.97% +0.01% ========================================== Files 167 168 +1 Lines 11350 11370 +20 ========================================== + Hits 10096 10116 +20 Misses 1254 1254 ``` | [Files](https://app.codecov.io/gh/postlund/pyatv/pull/2262?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Pierre+St%C3%A5hl) | Coverage Δ | | |---|---|---| | [pyatv/interface.py](https://app.codecov.io/gh/postlund/pyatv/pull/2262?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Pierre+St%C3%A5hl#diff-cHlhdHYvaW50ZXJmYWNlLnB5) | `98.65% <100.00%> (ø)` | | | [pyatv/storage/\_\_init\_\_.py](https://app.codecov.io/gh/postlund/pyatv/pull/2262?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Pierre+St%C3%A5hl#diff-cHlhdHYvc3RvcmFnZS9fX2luaXRfXy5weQ==) | `100.00% <100.00%> (ø)` | | | [pyatv/storage/file\_storage.py](https://app.codecov.io/gh/postlund/pyatv/pull/2262?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Pierre+St%C3%A5hl#diff-cHlhdHYvc3RvcmFnZS9maWxlX3N0b3JhZ2UucHk=) | `97.29% <100.00%> (ø)` | | | [pyatv/support/\_\_init\_\_.py](https://app.codecov.io/gh/postlund/pyatv/pull/2262?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Pierre+St%C3%A5hl#diff-cHlhdHYvc3VwcG9ydC9fX2luaXRfXy5weQ==) | `96.55% <100.00%> (+0.15%)` | :arrow_up: | | [pyatv/support/pydantic\_compat.py](https://app.codecov.io/gh/postlund/pyatv/pull/2262?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Pierre+St%C3%A5hl#diff-cHlhdHYvc3VwcG9ydC9weWRhbnRpY19jb21wYXQucHk=) | `100.00% <100.00%> (ø)` | | | [pyatv/settings.py](https://app.codecov.io/gh/postlund/pyatv/pull/2262?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Pierre+St%C3%A5hl#diff-cHlhdHYvc2V0dGluZ3MucHk=) | `95.31% <72.72%> (-4.69%)` | :arrow_down: | ... and [1 file with indirect coverage changes](https://app.codecov.io/gh/postlund/pyatv/pull/2262/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Pierre+St%C3%A5hl)

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