Open jacobtomlinson opened 1 week ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 95.19%. Comparing base (
87063fc
) to head (3b9e3c9
). Report is 114 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
I spent some time today experimenting with type stubs for the sync API (see #491).
This PR adds type stubs for the sync objects API. Right now it only implements the
list()
method on each object.I then confirmed in
kr8s/tests/test_objects.py::test_sync_pod_list
that mypy is happy with these annotations.The next step it to make a script that autogenerates these stubs based on the source files.
cc @florianvazelle for visibility