kpn / combadge

Generic API clients based on Pydantic and protocols
https://kpn.github.io/combadge
Apache License 2.0
13 stars 2 forks source link

OPT: replace `RootModel` with `TypeAdapter` #76

Closed eigenein closed 1 year ago

codecov[bot] commented 1 year ago

Codecov Report

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

Comparison is base (04f5639) 90.71% compared to head (8ec19a7) 90.74%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #76 +/- ## ========================================== + Coverage 90.71% 90.74% +0.02% ========================================== Files 30 30 Lines 765 767 +2 Branches 92 93 +1 ========================================== + Hits 694 696 +2 Misses 52 52 Partials 19 19 ``` | [Files](https://app.codecov.io/gh/kpn/combadge/pull/76?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=kpn) | Coverage Δ | | |---|---|---| | [combadge/core/binder.py](https://app.codecov.io/gh/kpn/combadge/pull/76?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=kpn#diff-Y29tYmFkZ2UvY29yZS9iaW5kZXIucHk=) | `100.00% <100.00%> (ø)` | | | [combadge/core/signature.py](https://app.codecov.io/gh/kpn/combadge/pull/76?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=kpn#diff-Y29tYmFkZ2UvY29yZS9zaWduYXR1cmUucHk=) | `92.75% <100.00%> (ø)` | | | [combadge/support/http/markers/request.py](https://app.codecov.io/gh/kpn/combadge/pull/76?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=kpn#diff-Y29tYmFkZ2Uvc3VwcG9ydC9odHRwL21hcmtlcnMvcmVxdWVzdC5weQ==) | `94.73% <100.00%> (ø)` | | | [combadge/support/httpx/backends/async\_.py](https://app.codecov.io/gh/kpn/combadge/pull/76?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=kpn#diff-Y29tYmFkZ2Uvc3VwcG9ydC9odHRweC9iYWNrZW5kcy9hc3luY18ucHk=) | `100.00% <100.00%> (ø)` | | | [combadge/support/httpx/backends/sync.py](https://app.codecov.io/gh/kpn/combadge/pull/76?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=kpn#diff-Y29tYmFkZ2Uvc3VwcG9ydC9odHRweC9iYWNrZW5kcy9zeW5jLnB5) | `100.00% <100.00%> (ø)` | | | [combadge/support/zeep/backends/async\_.py](https://app.codecov.io/gh/kpn/combadge/pull/76?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=kpn#diff-Y29tYmFkZ2Uvc3VwcG9ydC96ZWVwL2JhY2tlbmRzL2FzeW5jXy5weQ==) | `73.91% <100.00%> (-0.38%)` | :arrow_down: | | [combadge/support/zeep/backends/sync.py](https://app.codecov.io/gh/kpn/combadge/pull/76?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=kpn#diff-Y29tYmFkZ2Uvc3VwcG9ydC96ZWVwL2JhY2tlbmRzL3N5bmMucHk=) | `80.35% <100.00%> (-0.35%)` | :arrow_down: | | [combadge/support/zeep/backends/base.py](https://app.codecov.io/gh/kpn/combadge/pull/76?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=kpn#diff-Y29tYmFkZ2Uvc3VwcG9ydC96ZWVwL2JhY2tlbmRzL2Jhc2UucHk=) | `91.66% <88.88%> (+0.59%)` | :arrow_up: | | [combadge/support/httpx/backends/base.py](https://app.codecov.io/gh/kpn/combadge/pull/76?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=kpn#diff-Y29tYmFkZ2Uvc3VwcG9ydC9odHRweC9iYWNrZW5kcy9iYXNlLnB5) | `82.35% <60.00%> (-1.86%)` | :arrow_down: |

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