Aiven-Open / pghoard

PostgreSQL® backup and restore service
http://aiven-open.github.io/pghoard/
Apache License 2.0
1.3k stars 99 forks source link

Fix type hints issue from Rohmu 2.0.1 #606

Closed Mulugruntz closed 8 months ago

Mulugruntz commented 8 months ago

About this change - What it does

Fixes the issues that appeared with Rohmu 2.0.1. To be noted that it requires the following changes on rohmu's side: https://github.com/Aiven-Open/rohmu/pull/150 and hence, it will not pass until a new Rohmu version can be released.

Resolves: #xxxxx

Why this way

codecov-commenter commented 8 months ago

Codecov Report

Merging #606 (048ee67) into main (c6d3db4) will decrease coverage by 0.02%. The diff coverage is 89.18%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #606      +/-   ##
==========================================
- Coverage   91.35%   91.34%   -0.02%     
==========================================
  Files          32       32              
  Lines        4710     4727      +17     
==========================================
+ Hits         4303     4318      +15     
- Misses        407      409       +2     
Files Coverage Δ
pghoard/basebackup/base.py 92.25% <100.00%> (ø)
pghoard/basebackup/chunks.py 96.85% <100.00%> (+0.01%) :arrow_up:
pghoard/restore.py 89.61% <100.00%> (ø)
pghoard/transfer.py 98.69% <100.00%> (+<0.01%) :arrow_up:
pghoard/basebackup/delta.py 95.29% <84.61%> (-0.66%) :arrow_down:
pghoard/common.py 93.20% <87.50%> (-0.21%) :arrow_down:

... and 1 file with indirect coverage changes