kr8s-org / kr8s

A batteries-included Python client library for Kubernetes that feels familiar for folks who already know how to use kubectl
https://kr8s.org
BSD 3-Clause "New" or "Revised" License
799 stars 43 forks source link

Do not set object.raw on delete #471

Closed jumpojoy closed 1 month ago

jumpojoy commented 1 month ago

Keep original object as is during delete to let calling other functions like create or exists.

fixes #470

codecov[bot] commented 1 month ago

Codecov Report

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

Project coverage is 95.09%. Comparing base (87063fc) to head (1e2f243). Report is 111 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #471 +/- ## ========================================== + Coverage 94.61% 95.09% +0.47% ========================================== Files 29 30 +1 Lines 3141 3896 +755 ========================================== + Hits 2972 3705 +733 - Misses 169 191 +22 ```

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