INNER CODE UNIT · Python

lookup_kind

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

    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,
        *names: str,
        namespace: str | None = None,
        label_selector: str | dict | None = None,
        field_selector: str | dict | None = None,
        as_object: type[APIObject] | None = None,
        allow_unknown_type: bool = True,
        raw: bool = False,
        **kwargs,
    ) -> Generator[objects.APIObject | dict]:
        yield from cast(
            Generator[Union[objects.APIObject, dict]],
            _as_sync_generator(self.async_get)(

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…