diff --git a/lightkube/core/client.py b/lightkube/core/client.py index d65d925..cc1f640 100644 --- a/lightkube/core/client.py +++ b/lightkube/core/client.py @@ -38,7 +38,7 @@ class Client: * **trust_env** - Ignore environment variables, also passed through to httpx.Client trust_env. See its docs for further description. If False, empty config will be derived from_file(DEFAULT_KUBECONFIG) """ - def __init__(self, config: Union[SingleConfig, KubeConfig] = None, namespace: str = None, + def __init__(self, config: Union[SingleConfig, KubeConfig, None] = None, namespace: str = None, timeout: httpx.Timeout = None, lazy=True, field_manager: str = None, trust_env: bool = True): self._client = GenericSyncClient(config, namespace=namespace, timeout=timeout, lazy=lazy, field_manager=field_manager, trust_env=trust_env)