INNER CODE UNIT · Python

Api

kr8s-org/kr8s · kr8s/__init__.py:63

class Api(_AsyncApi):
    _asyncio = False

    def version(self) -> dict:  # type: ignore[override]
        return _as_sync_func(self.async_version)()

    def reauthenticate(self):  # type: ignore[override]
        return _as_sync_func(self.async_reauthenticate)()

    def whoami(self):  # type: ignore[override]
        return _as_sync_func(self.async_whoami)()

    def lookup_kind(self, kind) -> tuple[str, str, bool]:  # type: ignore[override]
        return _as_sync_func(self.async_lookup_kind)(kind)

    def get(  # type: ignore[override]
        self,
        kind: str | type,

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…