MCPcopy Index your code
hub / github.com/kubernetes-client/python / __init__

Method __init__

kubernetes/base/config/kube_config_test.py:367–374  ·  view source on GitHub ↗
(self, token=None, **kwargs)

Source from the content-addressed store, hash-verified

365 IGNORE_KEYS = ["refresh_api_key_hook"]
366
367 def __init__(self, token=None, **kwargs):
368 self.api_key = {}
369 # Provided by the OpenAPI-generated Configuration class
370 self.refresh_api_key_hook = None
371 if token:
372 self.api_key['BearerToken'] = token
373
374 self.__dict__.update(kwargs)
375
376 def __eq__(self, other):
377 if len(self.__dict__) != len(other.__dict__):

Callers

nothing calls this directly

Calls 1

updateMethod · 0.45

Tested by

no test coverage detected