Important
This release includes a large overhaul with the way we expose the kr8s
API. Under the hood kr8s
is built with asyncio
and coroutines, then that asynchronous API is wrapped in a sync API for users who do not want to use async
/await
.
The fixes in #551 mean that the sync API should now show correct type definitions, but this has meant changing the way we wrap the async API.
The change should be transparent for users of the sync API, but if you run into eny edge case bugs please don't hesitate to open an issue.
Changes
- Replace @sync decorator with APIObjectSyncMixin for all sync objects @jacobtomlinson (#551)
Project Hygiene
- [pre-commit.ci] pre-commit autoupdate @pre-commit-ci (#549)