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

Method get_default

kubernetes/aio/client/configuration.py:270–277  ·  view source on GitHub ↗

Get default instance of configuration. :return: The Configuration object.

(cls)

Source from the content-addressed store, hash-verified

268
269 @classmethod
270 def get_default(cls):
271 """Get default instance of configuration.
272
273 :return: The Configuration object.
274 """
275 if cls._default is None:
276 cls.set_default(Configuration())
277 return cls._default
278
279 @classmethod
280 def get_default_copy(cls):

Callers 15

__init__Method · 0.80
__init__Method · 0.80
__init__Method · 0.80
__init__Method · 0.80
__init__Method · 0.80
__init__Method · 0.80
__init__Method · 0.80
__init__Method · 0.80
__init__Method · 0.80
__init__Method · 0.80
__init__Method · 0.80
__init__Method · 0.80

Calls 2

ConfigurationClass · 0.70
set_defaultMethod · 0.45

Tested by

no test coverage detected